Skip to content

Commit

Permalink
nfsd4: fix recovery-entry leak nfsd startup failure
Browse files Browse the repository at this point in the history
Another leak on error

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
J. Bruce Fields committed Mar 6, 2012
1 parent a6d6b78 commit a8ae08e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a8ae08e

Please sign in to comment.