diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2012-05-21 22:45:24 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-22 16:45:42 -0400 |
commit | e3c0fb7ef515852619932b0da993baa2d107684d (patch) | |
tree | c187f17fbf5435c4037a3ae4d433ccc5a76679e4 | |
parent | c3607282b4d8787a530eb4a9a452b4e823508b9f (diff) |
NFS: Add NFSDBG_STATE
fs/nfs/nfs4state.c does not yet have any dprintk() call sites, and I'm
about to introduce some. We will need a new flag for enabling them.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4renewd.c | 2 | ||||
-rw-r--r-- | fs/nfs/nfs4state.c | 2 | ||||
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c index dc484c0eae7f..6930bec91bca 100644 --- a/fs/nfs/nfs4renewd.c +++ b/fs/nfs/nfs4renewd.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include "nfs4_fs.h" | 49 | #include "nfs4_fs.h" |
50 | #include "delegation.h" | 50 | #include "delegation.h" |
51 | 51 | ||
52 | #define NFSDBG_FACILITY NFSDBG_PROC | 52 | #define NFSDBG_FACILITY NFSDBG_STATE |
53 | 53 | ||
54 | void | 54 | void |
55 | nfs4_renew_state(struct work_struct *work) | 55 | nfs4_renew_state(struct work_struct *work) |
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 7f0fcfc1fe9d..f8c06dec6563 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -57,6 +57,8 @@ | |||
57 | #include "internal.h" | 57 | #include "internal.h" |
58 | #include "pnfs.h" | 58 | #include "pnfs.h" |
59 | 59 | ||
60 | #define NFSDBG_FACILITY NFSDBG_STATE | ||
61 | |||
60 | #define OPENOWNER_POOL_SIZE 8 | 62 | #define OPENOWNER_POOL_SIZE 8 |
61 | 63 | ||
62 | const nfs4_stateid zero_stateid; | 64 | const nfs4_stateid zero_stateid; |
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 6cc7dbaf0695..80a9385b88ab 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -634,6 +634,7 @@ nfs_fileid_to_ino_t(u64 fileid) | |||
634 | #define NFSDBG_FSCACHE 0x0800 | 634 | #define NFSDBG_FSCACHE 0x0800 |
635 | #define NFSDBG_PNFS 0x1000 | 635 | #define NFSDBG_PNFS 0x1000 |
636 | #define NFSDBG_PNFS_LD 0x2000 | 636 | #define NFSDBG_PNFS_LD 0x2000 |
637 | #define NFSDBG_STATE 0x4000 | ||
637 | #define NFSDBG_ALL 0xFFFF | 638 | #define NFSDBG_ALL 0xFFFF |
638 | 639 | ||
639 | #ifdef __KERNEL__ | 640 | #ifdef __KERNEL__ |