diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-20 22:12:46 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 17:31:44 +0400 |
commit | 6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (patch) | |
tree | 14c33fa0d8dfe765175c3972d1fd746ef766c150 /fs/nfs/fscache.c | |
parent | ffa94db6042e6fd014ae0bed8832ac707ef2afe9 (diff) | |
download | linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.xz |
NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/fscache.c')
-rw-r--r-- | fs/nfs/fscache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/fscache.c b/fs/nfs/fscache.c index 419119c371bf..ae65c16b3670 100644 --- a/fs/nfs/fscache.c +++ b/fs/nfs/fscache.c @@ -327,7 +327,7 @@ void nfs_fscache_reset_inode_cookie(struct inode *inode) { struct nfs_inode *nfsi = NFS_I(inode); struct nfs_server *nfss = NFS_SERVER(inode); - struct fscache_cookie *old = nfsi->fscache; + NFS_IFDEBUG(struct fscache_cookie *old = nfsi->fscache); nfs_fscache_inode_lock(inode); if (nfsi->fscache) { |