nfsd4: fix delegation cleanup on error
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Mar 2014 17:19:18 +0000 (12:19 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 21 May 2014 16:17:17 +0000 (12:17 -0400)
We're not cleaning up everything we need to on error.  In particular,
we're not removing our lease.  Among other problems this can cause the
struct nfs4_file used as fl_owner to be referenced after it has been
destroyed.

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

Simple merge