summaryrefslogtreecommitdiffstats
path: root/lib/iommu-helper.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2010-09-30 10:34:00 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2010-09-30 17:23:03 +0100
commit46290341cd649c2bfb69e5067c1804c0395c83a1 (patch)
tree1ef4a9c1d158ec182645d4be4cb3357a52a4404d /lib/iommu-helper.c
parentfeb47ca9314666d920855b8a235032dea2b2caa4 (diff)
downloadop-kernel-dev-46290341cd649c2bfb69e5067c1804c0395c83a1.zip
op-kernel-dev-46290341cd649c2bfb69e5067c1804c0395c83a1.tar.gz
GFS2 fatal: filesystem consistency error on rename
This patch fixes a GFS2 problem whereby the first rename after a mount can result in a file system consistency error being flagged improperly and cause the file system to withdraw. The problem is that the rename code tries to run the rgrp list with function gfs2_blk2rgrpd before the rgrp list is guaranteed to be read in from disk. The patch makes the rename function hold the rindex glock (as the gfs2_unlink code does today) which reads in the rgrp list if need be. There were a total of three places in the rename code that improperly referenced the rgrp list without the rindex glock and this patch fixes all three. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud