summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/Kconfig
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2019-11-12 20:01:43 +0100
committerJ. Bruce Fields <bfields@redhat.com>2019-11-12 20:53:26 +0100
commit18b9a895e652979b70f9c20565394a69354dfebc (patch)
treebc677d5c2cae88f3e3206cfd84400537b9a20612 /fs/nfsd/Kconfig
parentlockd: remove __KERNEL__ ifdefs (diff)
downloadlinux-18b9a895e652979b70f9c20565394a69354dfebc.tar.xz
linux-18b9a895e652979b70f9c20565394a69354dfebc.zip
nfsd: Fix cld_net->cn_tfm initialization
Don't assign an error pointer to cld_net->cn_tfm, otherwise an oops will occur in nfsd4_remove_cld_pipe(). Also, move the initialization of cld_net->cn_tfm so that it occurs after the check to see if nfsdcld is running. This is necessary because nfsd4_client_tracking_init() looks for -ETIMEDOUT to determine whether to use the "old" nfsdcld tracking ops. Fixes: 6ee95d1c8991 ("nfsd: add support for upcall version 2") Reported-by: Jamie Heilman <jamie@audible.transient.net> Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/Kconfig')
0 files changed, 0 insertions, 0 deletions