Subject: Re: linux-next: build failure after merge of the nfs tree

From: "Myklebust, Trond" <[email-masked]>
Date: Wed, 16 May 2012 17:47:20 +0000

On Wed, 2012-05-16 at 12:49 +1000, Stephen Rothwell wrote:
> Hi Trond,
> 
> After merging the nfs tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> fs/nfs/super.c: In function 'nfs_get_cache_cookie':
> fs/nfs/super.c:2361:12: error: 'struct nfs_server' has no member named 'fscache_key'
> fs/nfs/super.c:2362:16: error: 'struct nfs_server' has no member named 'fscache_key'
> fs/nfs/super.c:2363:16: error: 'struct nfs_server' has no member named 'fscache_key'
> fs/nfs/super.c:2367:2: warning: passing argument 3 of 'nfs_fscache_get_super_cookie' makes pointer from integer without a cast [enabled by default]
> fs/nfs/fscache.h:173:20: note: expected 'struct nfs_clone_mount *' but argument is of type 'int'
> 
> Casued by commit 2311b9439ce8 ("NFS: Don't pass mount data to
> nfs_fscache_get_super_cookie()").  This build has CONFIG_NFS_FSCACHE
> unset.  grep is your friend.
> 
> I have used the nfs tree from next-20120514 for today.
> 

Thanks Stephen! I've added a fix for this in todays linux-next branch.

Cheers
  Trond
-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
[email-masked]
www.netapp.com