summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-03-08 11:26:23 +1100
committerAlex Elder <aelder@sgi.com>2010-05-19 09:58:08 -0500
commit713bf88bba55b8dd91a18e8a59b0f97bf9b0f5de (patch)
tree8f309ced7d77f10408bc4224e490cca475c4f948 /drivers/cdrom
parent8e123850863366b738d6dfb9a84045018ff038fc (diff)
downloadlinux-713bf88bba55b8dd91a18e8a59b0f97bf9b0f5de.tar.bz2
xfs: fix reservation release commit flag in xfs_bmap_add_attrfork()
xfs_bmap_add_attrfork() passes XFS_TRANS_PERM_LOG_RES to xfs_trans_commit() to indicate that the commit should release the permanent log reservation as part of the commit. This is wrong - the correct flag is XFS_TRANS_RELEASE_LOG_RES - and it is only by the chance that both these flags have the value of 0x4 that the code is doing the right thing. Fix it by changing to use the correct flag. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions