summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust2012-03-20 19:12:46 +0100
committerTrond Myklebust2012-03-21 14:31:44 +0100
commit6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (patch)
tree14c33fa0d8dfe765175c3972d1fd746ef766c150 /include/linux/nfs_fs.h
parentSUNRPC/LOCKD: Fix build warnings when CONFIG_SUNRPC_DEBUG is undefined (diff)
downloadkernel-qcow2-linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.gz
kernel-qcow2-linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.xz
kernel-qcow2-linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.zip
NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 69ec9cb3a867..52a1bdb4ee2b 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -661,8 +661,10 @@ nfs_fileid_to_ino_t(u64 fileid)
# undef ifdebug
# ifdef NFS_DEBUG
# define ifdebug(fac) if (unlikely(nfs_debug & NFSDBG_##fac))
+# define NFS_IFDEBUG(x) x
# else
# define ifdebug(fac) if (0)
+# define NFS_IFDEBUG(x)
# endif
#endif /* __KERNEL */