diff options
author | Mark Tinguely <tinguely@sgi.com> | 2013-11-08 01:43:28 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-11-18 19:12:54 +0400 |
commit | 9e3908e342eba6684621e616529669c17e271e7e (patch) | |
tree | 1538ff2599edc1523535e6032e91a1146a25bb42 /fs/xfs/xfs_mount.h | |
parent | ec715cacd53f63b21da3a9bc96a9bb4c527e25b1 (diff) | |
download | linux-9e3908e342eba6684621e616529669c17e271e7e.tar.xz |
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_mount.h')
0 files changed, 0 insertions, 0 deletions