From 5ddab46aea609341639e2b6b0365e2154a13d183 Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Wed, 20 Dec 2006 22:29:46 +0200 Subject: [PATCH] --- yaml --- r: 46085 b: refs/heads/master c: 4dc2eaecd4cf0687727e418540bccf956a62ebcf h: refs/heads/master i: 46083: 8cb1aab1f085cfe79b9c41cfcbbd409fb4ed7868 v: v3 --- [refs] | 2 +- trunk/include/linux/nfs_fs.h | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 56f537da099c..44a1250e15c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e148582e10a2c1a23dfc09210df4a18bc6cca4e9 +refs/heads/master: 4dc2eaecd4cf0687727e418540bccf956a62ebcf diff --git a/trunk/include/linux/nfs_fs.h b/trunk/include/linux/nfs_fs.h index c5d4084773e8..c0d03767b8c4 100644 --- a/trunk/include/linux/nfs_fs.h +++ b/trunk/include/linux/nfs_fs.h @@ -11,14 +11,6 @@ #include -/* - * Enable debugging support for nfs client. - * Requires RPC_DEBUG. - */ -#ifdef RPC_DEBUG -# define NFS_DEBUG -#endif - /* Default timeout values */ #define NFS_MAX_UDP_TIMEOUT (60*HZ) #define NFS_MAX_TCP_TIMEOUT (600*HZ) @@ -567,6 +559,15 @@ extern void * nfs_root_data(void); #define NFSDBG_ALL 0xFFFF #ifdef __KERNEL__ + +/* + * Enable debugging support for nfs client. + * Requires RPC_DEBUG. + */ +#ifdef RPC_DEBUG +# define NFS_DEBUG +#endif + # undef ifdebug # ifdef NFS_DEBUG # define ifdebug(fac) if (unlikely(nfs_debug & NFSDBG_##fac))