Files
linux/fs/nfsd
Christoph Hellwig e7c1ad19d7 nfsd: make sure to balance get/put_write_access
commit 987da47910 upstream.

Use a straight goto error label style in nfsd_setattr to make sure
we always do the put_write_access call after we got it earlier.

Note that the we have been failing to do that in the case
nfsd_break_lease() returns an error, a bug introduced into 2.6.38 with
6a76bebefe "nfsd4: break lease on nfsd
setattr".

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-29 11:11:49 -08:00
..
2011-11-07 21:10:47 -05:00
2013-02-26 02:46:08 -05:00
2012-01-03 22:55:10 -05:00
2013-02-26 02:46:08 -05:00
2013-02-26 02:46:08 -05:00