]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit009584e28ade7a20a11ee585a3e9e1b8591d39e6
tree65e42946837a0c4d3506c4d246f11ee7bd884f47
parent15c402162d58fea036740dae59f17a034fb5666f
nfsd4: fix delegation cleanup on error

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