summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2013-11-18 13:07:47 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2013-11-18 17:06:48 (GMT)
commit987da4791052fa298b7cfcde4dea9f6f2bbc786b (patch)
tree8a469919f3990db2f496db44cb6a3d36d32569c4 /fs/jffs2
parent818e5a22e907fbae75e9c1fd78233baec9fa64b6 (diff)
downloadlinux-987da4791052fa298b7cfcde4dea9f6f2bbc786b.tar.xz
nfsd: make sure to balance get/put_write_access
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 6a76bebefe15d9a08864f824d7f8d5beaf37c997 "nfsd4: break lease on nfsd setattr". Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions