summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-07-20 20:10:22 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-07-23 14:51:26 +0200
commitac77efbe2b4d2a1e571a4f1e5b6e47de72a7d737 (patch)
tree2ebb9f5178a3b81e357f95966f1e2eb0269e8e35 /fs/nfsd/nfsd.h
parentnfsd: clean up nfsd_create_serv error handling (diff)
downloadlinux-ac77efbe2b4d2a1e571a4f1e5b6e47de72a7d737.tar.xz
linux-ac77efbe2b4d2a1e571a4f1e5b6e47de72a7d737.zip
nfsd: just keep single lockd reference for nfsd
Right now, nfsd keeps a lockd reference for each socket that it has open. This is unnecessary and complicates the error handling on startup and shutdown. Change it to just do a lockd_up when starting the first nfsd thread just do a single lockd_down when taking down the last nfsd thread. Because of the strange way the sv_count is handled this requires an extra flag to tell whether the nfsd_serv holds a reference for lockd or not. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
0 files changed, 0 insertions, 0 deletions