summary refs log tree commit diff
path: root/fs/xfs/xfs_btree.h
diff options
context:
space:
mode:
authorMark Tinguely <tinguely@sgi.com>2013-11-07 15:43:28 -0600
committerBen Myers <bpm@sgi.com>2013-11-18 09:12:54 -0600
commit9e3908e342eba6684621e616529669c17e271e7e (patch)
tree1538ff2599edc1523535e6032e91a1146a25bb42 /fs/xfs/xfs_btree.h
parentec715cacd53f63b21da3a9bc96a9bb4c527e25b1 (diff)
downloadlinux-9e3908e342eba6684621e616529669c17e271e7e.tar.gz
xfs: fix unlock in xfs_bmap_add_attrfork
xfs_trans_ijoin() activates the inode in a transaction and
also can specify which lock to free when the transaction is
committed or canceled.

xfs_bmap_add_attrfork call locks and adds the lock to the
transaction but also manually removes the lock. Change the
routine to not add the lock to the transaction and manually
remove lock on completion.

While here, clean up the xfs_trans_cancel flags and goto names.

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>

Diffstat (limited to 'fs/xfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions