summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-03-06 21:52:04 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-03-07 00:13:32 +0100
commita8ae08ebf1f336808e20c1c275f68d36d88e0682 (patch)
tree5ffced98e835df3c3e431d8a47202decdf841a39 /fs/nfsd
parentnfsd4: fix recovery-dir leak on nfsd startup failure (diff)
downloadlinux-a8ae08ebf1f336808e20c1c275f68d36d88e0682.tar.xz
linux-a8ae08ebf1f336808e20c1c275f68d36d88e0682.zip
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')
-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 ffb46d60b4d6..90c7e06ea2e8 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;
}