diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-12-06 14:23:34 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-10 16:25:40 -0500 |
commit | 903d9bf0edebc9d9f06df125ab2bd57b4aa4e78e (patch) | |
tree | 07a46c7f9216475f9bb78244fcb3e54af06dad7e /ipc | |
parent | bda9cac1db8ab044e9edbfe5730283016b67d451 (diff) | |
download | blackbird-op-linux-903d9bf0edebc9d9f06df125ab2bd57b4aa4e78e.tar.gz blackbird-op-linux-903d9bf0edebc9d9f06df125ab2bd57b4aa4e78e.zip |
nfsd: simplify NFSv4 state init and shutdown
This patch moves nfsd_startup_generic() and nfsd_shutdown_generic()
calls to nfsd_startup_net() and nfsd_shutdown_net() respectively, which
allows us to call nfsd_startup_net() instead of nfsd_startup() and makes
the code look clearer. It also modifies nfsd_svc() and nfsd_shutdown()
to check nn->nfsd_net_up instead of global nfsd_up. The latter is now
used only for generic resources shutdown and is currently useless. It
will replaced by NFSd users counter later in this series.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions