NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
ffa94db604
commit
6f00866ddd
5 changed files with 14 additions and 5 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue