diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-18 19:07:42 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-20 18:08:26 +0100 |
commit | e27d359e9b7e446190362cd5c8fe281d02194896 (patch) | |
tree | 5dece1801337b32e9d4ecc03e487a95856b413fa /fs/nfs/Kconfig | |
parent | NFS: Use cond_resched_lock() to reduce latencies in the commit scans (diff) | |
download | linux-e27d359e9b7e446190362cd5c8fe281d02194896.tar.xz 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/Kconfig')
-rw-r--r-- | fs/nfs/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 7bce64c7060e..2a0e6c599147 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -144,3 +144,9 @@ config NFS_USE_KERNEL_DNS depends on NFS_V4 && !NFS_USE_LEGACY_DNS select DNS_RESOLVER default y + +config NFS_DEBUG + bool + depends on NFS_FS && SUNRPC_DEBUG + select CRC32 + default y |