nfsd4: fix recovery-dir leak on nfsd startup failure
authorJeff Layton <jlayton@redhat.com>
Mon, 5 Mar 2012 16:42:36 +0000 (11:42 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 23:13:25 +0000 (18:13 -0500)
The current code never calls nfsd4_shutdown_recdir if nfs4_state_start
returns an error. Also, it's better to go ahead and consolidate these
functions since one is just a trivial wrapper around the other.

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

Simple merge