summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-03-06 20:52:04 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2012-03-06 23:13:32 (GMT)
commita8ae08ebf1f336808e20c1c275f68d36d88e0682 (patch)
tree5ffced98e835df3c3e431d8a47202decdf841a39 /fs/nfsd/nfs4state.c
parenta6d6b7811cad51b763566210fa98cc2786c7b7ee (diff)
downloadlinux-a8ae08ebf1f336808e20c1c275f68d36d88e0682.tar.xz
nfsd4: fix recovery-entry leak nfsd startup failure
Another leak on error Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index ffb46d6..90c7e06 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4706,6 +4706,7 @@ nfs4_state_start(void)
out_free_laundry:
destroy_workqueue(laundry_wq);
out_recovery:
+ nfs4_release_reclaim();
nfsd4_shutdown_recdir();
return ret;
}