aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:22:34 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 15:24:55 -0400
commit0f3e66c6a6cae479028d31198288e524fe5ff90d (patch)
treee221fc927077a22485d5befc0136f1e77ecc55c5 /fs/nfs/super.c
parent96b09e024fedf0a6604c8c688a3994d5ed991434 (diff)
nfs41: destroy_session operation
Implement the destroy_session operation conforming to http://tools.ietf.org/html/draft-ietf-nfsv4-minorversion1-26 Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Andy Adamson<andros@umich.edu> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: remove extraneous rpc_clnt pointer] Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41; NFS_CS_READY required for DESTROY_SESSION] Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: pass *session in seq_args and seq_res] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> [nfs41: fix encode_destroy_session's xdr Xcoding pointer type] Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 5a8fdc791cc1..73db6f8c145a 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2485,12 +2485,14 @@ static void nfs4_kill_super(struct super_block *sb)
2485{ 2485{
2486 struct nfs_server *server = NFS_SB(sb); 2486 struct nfs_server *server = NFS_SB(sb);
2487 2487
2488 dprintk("--> %s\n", __func__);
2488 nfs_super_return_all_delegations(sb); 2489 nfs_super_return_all_delegations(sb);
2489 kill_anon_super(sb); 2490 kill_anon_super(sb);
2490 2491
2491 nfs4_renewd_prepare_shutdown(server); 2492 nfs4_renewd_prepare_shutdown(server);
2492 nfs_fscache_release_super_cookie(sb); 2493 nfs_fscache_release_super_cookie(sb);
2493 nfs_free_server(server); 2494 nfs_free_server(server);
2495 dprintk("<-- %s\n", __func__);
2494} 2496}
2495 2497
2496/* 2498/*