summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-03-06 15:52:04 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-03-06 18:13:32 -0500
commita8ae08ebf1f336808e20c1c275f68d36d88e0682 (patch)
tree5ffced98e835df3c3e431d8a47202decdf841a39 /fs
parenta6d6b7811cad51b763566210fa98cc2786c7b7ee (diff)
downloadlinux-stable-a8ae08ebf1f336808e20c1c275f68d36d88e0682.tar.gz
linux-stable-a8ae08ebf1f336808e20c1c275f68d36d88e0682.tar.bz2
linux-stable-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')
-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;
}