SUNRPC/NFS: Add Kbuild dependencies for NFS_DEBUG/RPC_DEBUG
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 18 Mar 2012 18:07:42 +0000 (14:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Mar 2012 17:08:26 +0000 (13:08 -0400)
commite27d359e9b7e446190362cd5c8fe281d02194896
tree5dece1801337b32e9d4ecc03e487a95856b413fa
parent3b3be88d67cc17d0f0ab6edaf131516793fc947e
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>
fs/nfs/Kconfig
fs/nfs/inode.c
fs/nfs/mount_clnt.c
fs/nfs/nfsroot.c
include/linux/nfs_fs.h
include/linux/sunrpc/debug.h
net/sunrpc/Kconfig