nfsd4: fix recovery-entry leak nfsd startup failure
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 20:52:04 +0000 (15:52 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 23:13:32 +0000 (18:13 -0500)
Another leak on error

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index ffb46d60b4d6df0c47c473db922d915c73548f1f..90c7e06ea2e8137b9741ad690cc7581f35dba558 100644 (file)
@@ -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;
 }