nfsd: remove nfs4_lock_state: nfs4_state_shutdown_net
Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
dab6ef2415
commit
74cf76df0f
|
@ -6406,7 +6406,6 @@ nfs4_state_shutdown_net(struct net *net)
|
||||||
cancel_delayed_work_sync(&nn->laundromat_work);
|
cancel_delayed_work_sync(&nn->laundromat_work);
|
||||||
locks_end_grace(&nn->nfsd4_manager);
|
locks_end_grace(&nn->nfsd4_manager);
|
||||||
|
|
||||||
nfs4_lock_state();
|
|
||||||
INIT_LIST_HEAD(&reaplist);
|
INIT_LIST_HEAD(&reaplist);
|
||||||
spin_lock(&state_lock);
|
spin_lock(&state_lock);
|
||||||
list_for_each_safe(pos, next, &nn->del_recall_lru) {
|
list_for_each_safe(pos, next, &nn->del_recall_lru) {
|
||||||
|
@ -6423,7 +6422,6 @@ nfs4_state_shutdown_net(struct net *net)
|
||||||
|
|
||||||
nfsd4_client_tracking_exit(net);
|
nfsd4_client_tracking_exit(net);
|
||||||
nfs4_state_destroy_net(net);
|
nfs4_state_destroy_net(net);
|
||||||
nfs4_unlock_state();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue