aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2018-05-31 07:20:55 -0500
committerBob Peterson <rpeterso@redhat.com>2018-06-04 07:33:17 -0500
commit7b5747f43f4dd8dce57e686ca4372825bd67c258 (patch)
treec8c39b17301ea54c80aa5faeed83b3bf501299c2 /fs/gfs2/incore.h
parentgfs2: Update find_metapath comment (diff)
downloadlinux-dev-7b5747f43f4dd8dce57e686ca4372825bd67c258.tar.xz
linux-dev-7b5747f43f4dd8dce57e686ca4372825bd67c258.zip
GFS2: Fix allocation error bug with recursive rgrp glocking
Before this patch function gfs2_write_begin, upon discovering an error, called gfs2_trim_blocks while the rgrp glock was still held. That's because gfs2_inplace_release is not called until later. This patch reorganizes the logic a bit so gfs2_inplace_release is called to release the lock prior to the call to gfs2_trim_blocks, thus preventing the glock recursion. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
0 files changed, 0 insertions, 0 deletions