nfsd: fix error handling in nfsd4_remove_clid_dir
authorJeff Layton <jlayton@redhat.com>
Fri, 9 Nov 2012 20:31:53 +0000 (15:31 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 10 Nov 2012 19:52:03 +0000 (14:52 -0500)
commit698d8d875a0593f65092f6619d97de49bc5caa45
tree16bf075704d07d401c0f4db9276b9f975864f3ef
parent292a41716a4ad3e93c57155f99786abe8a8d386a
nfsd: fix error handling in nfsd4_remove_clid_dir

If the credential save fails, then we'll leak our mnt_want_write_file
reference.

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