aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index b2611999600a..f23385b13065 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -511,6 +511,12 @@ expire_client(struct nfs4_client *clp)
511 sop = list_entry(clp->cl_openowners.next, struct nfs4_stateowner, so_perclient); 511 sop = list_entry(clp->cl_openowners.next, struct nfs4_stateowner, so_perclient);
512 release_openowner(sop); 512 release_openowner(sop);
513 } 513 }
514 while (!list_empty(&clp->cl_sessions)) {
515 struct nfsd4_session *ses;
516 ses = list_entry(clp->cl_sessions.next, struct nfsd4_session,
517 se_perclnt);
518 release_session(ses);
519 }
514 put_nfs4_client(clp); 520 put_nfs4_client(clp);
515} 521}
516 522