diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/lockd/svcsubs.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfsd.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 665ef5a05183..a563ddbc19e6 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c | |||
@@ -31,7 +31,7 @@ | |||
31 | static struct hlist_head nlm_files[FILE_NRHASH]; | 31 | static struct hlist_head nlm_files[FILE_NRHASH]; |
32 | static DEFINE_MUTEX(nlm_file_mutex); | 32 | static DEFINE_MUTEX(nlm_file_mutex); |
33 | 33 | ||
34 | #ifdef NFSD_DEBUG | 34 | #ifdef CONFIG_SUNRPC_DEBUG |
35 | static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) | 35 | static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) |
36 | { | 36 | { |
37 | u32 *fhp = (u32*)f->data; | 37 | u32 *fhp = (u32*)f->data; |
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index fd875b6107ba..693495551bb2 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -1139,7 +1139,7 @@ hash_sessionid(struct nfs4_sessionid *sessionid) | |||
1139 | return sid->sequence % SESSION_HASH_SIZE; | 1139 | return sid->sequence % SESSION_HASH_SIZE; |
1140 | } | 1140 | } |
1141 | 1141 | ||
1142 | #ifdef NFSD_DEBUG | 1142 | #ifdef CONFIG_SUNRPC_DEBUG |
1143 | static inline void | 1143 | static inline void |
1144 | dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) | 1144 | dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) |
1145 | { | 1145 | { |
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 565c4da1a9eb..cf980523898b 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "export.h" | 24 | #include "export.h" |
25 | 25 | ||
26 | #undef ifdebug | 26 | #undef ifdebug |
27 | #ifdef NFSD_DEBUG | 27 | #ifdef CONFIG_SUNRPC_DEBUG |
28 | # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) | 28 | # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) |
29 | #else | 29 | #else |
30 | # define ifdebug(flag) if (0) | 30 | # define ifdebug(flag) if (0) |