diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-29 13:52:49 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-03-29 14:01:07 +0200 |
commit | 797a9d797f8483bb67f265c761b76dcd5a077a23 (patch) | |
tree | bc114410d0b6f7cc596d1ef8e2905fab00bf321b /Documentation/video4linux/CARDLIST.cx23885 | |
parent | nfsd4: use auth_unix unconditionally on backchannel (diff) | |
download | linux-797a9d797f8483bb67f265c761b76dcd5a077a23.tar.xz linux-797a9d797f8483bb67f265c761b76dcd5a077a23.zip |
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>
Diffstat (limited to 'Documentation/video4linux/CARDLIST.cx23885')
0 files changed, 0 insertions, 0 deletions