diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:44 -0400 |
commit | eeebf91675421b730448489ebf4720e5c419beec (patch) | |
tree | 84287ae7c6afaa29b5139e39c72a2c137f01bbf5 /fs/nfs/delegation.c | |
parent | e38eb6506ff426a2bb93433fecfcc863a95fcd03 (diff) | |
download | blackbird-op-linux-eeebf91675421b730448489ebf4720e5c419beec.tar.gz blackbird-op-linux-eeebf91675421b730448489ebf4720e5c419beec.zip |
NFS: Use nfs4_destroy_server() to clean up NFS v4
I can use this function to return delegations and unset the pnfs layout
driver rather than continuing to do these things in the generic client.
With this change, we no longer need an nfs4_kill_super().
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/delegation.c')
-rw-r--r-- | fs/nfs/delegation.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index bd3a9601d32d..9a7a1b488af9 100644 --- a/fs/nfs/delegation.c +++ b/fs/nfs/delegation.c @@ -417,9 +417,8 @@ static void nfs_mark_return_delegation(struct nfs_server *server, * @sb: sb to process * */ -void nfs_super_return_all_delegations(struct super_block *sb) +void nfs_server_return_all_delegations(struct nfs_server *server) { - struct nfs_server *server = NFS_SB(sb); struct nfs_client *clp = server->nfs_client; struct nfs_delegation *delegation; |