diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-12-06 14:23:44 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-10 16:25:42 -0500 |
commit | 541e864f00d0062c98c1e743265b0a60cada3755 (patch) | |
tree | 05c87e9b6ba3a775c99a115a0dcde26b27d1d2b0 /CREDITS | |
parent | 4539f14981ce02d48b212786a41c8bcfb62851b4 (diff) | |
download | blackbird-op-linux-541e864f00d0062c98c1e743265b0a60cada3755.tar.gz blackbird-op-linux-541e864f00d0062c98c1e743265b0a60cada3755.zip |
nfsd: simplify service shutdown
Function nfsd_shutdown is called from two places: nfsd_last_thread (when last
kernel thread is exiting) and nfsd_svc (in case of kthreads starting error).
When calling from nfsd_svc(), we can be sure that per-net resources are
allocated, so we don't need to check per-net nfsd_net_up boolean flag.
This allows us to remove nfsd_shutdown function at all and move check for
per-net nfsd_net_up boolean flag to nfsd_last_thread.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions