diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-20 19:12:46 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 14:31:44 +0100 |
commit | 6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (patch) | |
tree | 14c33fa0d8dfe765175c3972d1fd746ef766c150 /include | |
parent | SUNRPC/LOCKD: Fix build warnings when CONFIG_SUNRPC_DEBUG is undefined (diff) | |
download | linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.xz linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.zip |
NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs.h | 2 |
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 */ |