aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 4213c881499..5da939d577d 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -49,6 +49,7 @@
49#include <linux/namei.h> 49#include <linux/namei.h>
50#include <linux/mount.h> 50#include <linux/mount.h>
51#include <linux/module.h> 51#include <linux/module.h>
52#include <linux/sunrpc/bc_xprt.h>
52 53
53#include "nfs4_fs.h" 54#include "nfs4_fs.h"
54#include "delegation.h" 55#include "delegation.h"
@@ -4481,6 +4482,11 @@ struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp)
4481 4482
4482void nfs4_destroy_session(struct nfs4_session *session) 4483void nfs4_destroy_session(struct nfs4_session *session)
4483{ 4484{
4485 nfs4_proc_destroy_session(session);
4486 dprintk("%s Destroy backchannel for xprt %p\n",
4487 __func__, session->clp->cl_rpcclient->cl_xprt);
4488 xprt_destroy_backchannel(session->clp->cl_rpcclient->cl_xprt,
4489 NFS41_BC_MIN_CALLBACKS);
4484 nfs4_destroy_slot_table(session); 4490 nfs4_destroy_slot_table(session);
4485 kfree(session); 4491 kfree(session);
4486} 4492}