kernel_optimize_test/fs/nfsd
Jeff Layton 797a9d797f nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled
Otherwise, we get a warning or error similar to this when building with
CONFIG_NFSD_V4 disabled:

    ERROR: "nfsd4_cld_block" [fs/nfsd/nfsd.ko] undefined!

Fix this by wrapping the calls to rpc_pipefs_notifier_register and
..._unregister in another function and providing no-op replacements
when CONFIG_NFSD_V4 is disabled.

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2012-03-29 08:01:07 -04:00
..
acl.h
auth.c
auth.h
cache.h
current_stateid.h
export.c
fault_inject.c
fault_inject.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled 2012-03-29 08:01:07 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c nfsd4: use auth_unix unconditionally on backchannel 2012-03-28 19:14:36 -04:00
nfs4idmap.c nfsd4: memory corruption in numeric_name_to_id() 2012-03-28 10:10:23 -04:00
nfs4proc.c
nfs4recover.c nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled 2012-03-29 08:01:07 -04:00
nfs4state.c nfsd: add nfsd4_client_tracking_ops struct and a way to set it 2012-03-26 11:49:47 -04:00
nfs4xdr.c
nfscache.c
nfsctl.c nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled 2012-03-29 08:01:07 -04:00
nfsd.h nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled 2012-03-29 08:01:07 -04:00
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c
nfsxdr.c
state.h nfsd: add nfsd4_client_tracking_ops struct and a way to set it 2012-03-26 11:49:47 -04:00
stats.c
vfs.c
vfs.h
xdr3.h
xdr4.h
xdr.h