summaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-03-18 19:07:42 +0100
committerTrond Myklebust2012-03-20 18:08:26 +0100
commite27d359e9b7e446190362cd5c8fe281d02194896 (patch)
tree5dece1801337b32e9d4ecc03e487a95856b413fa /fs/nfs/inode.c
parentNFS: Use cond_resched_lock() to reduce latencies in the commit scans (diff)
downloadkernel-qcow2-linux-e27d359e9b7e446190362cd5c8fe281d02194896.tar.gz
kernel-qcow2-linux-e27d359e9b7e446190362cd5c8fe281d02194896.tar.xz
kernel-qcow2-linux-e27d359e9b7e446190362cd5c8fe281d02194896.zip
SUNRPC/NFS: Add Kbuild dependencies for NFS_DEBUG/RPC_DEBUG
This allows us to turn on/off the dprintk() debugging interfaces for those distributions that don't ship the 'rpcdebug' utility. It also allows us to add Kbuild dependencies. Specifically, we already know that dprintk() in general relies on CONFIG_SYSCTL. Now it turns out that the NFS dprintks depend on CONFIG_CRC32 after we added support for the filehandle hash. Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 1a19f8d30c14..7bb4d13c1cd5 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1047,7 +1047,7 @@ struct nfs_fh *nfs_alloc_fhandle(void)
return fh;
}
-#ifdef RPC_DEBUG
+#ifdef NFS_DEBUG
/*
* _nfs_display_fhandle_hash - calculate the crc32 hash for the filehandle
* in the same way that wireshark does