summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_refcount_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-26 02:39:50 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-07 17:40:28 +0200
commit64a3f3315bc60f710a0a25c1798ac0ea58c6fa1f (patch)
tree906416ab193a630c1e528479d065979746a494f7 /fs/xfs/xfs_refcount_item.c
parentxfs: clean up bmap intent item recovery checking (diff)
downloadlinux-64a3f3315bc60f710a0a25c1798ac0ea58c6fa1f.tar.xz
linux-64a3f3315bc60f710a0a25c1798ac0ea58c6fa1f.zip
xfs: clean up xfs_bui_item_recover iget/trans_alloc/ilock ordering
In most places in XFS, we have a specific order in which we gather resources: grab the inode, allocate a transaction, then lock the inode. xfs_bui_item_recover doesn't do it in that order, so fix it to be more consistent. This also makes the error bailout code a bit less weird. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.c')
0 files changed, 0 insertions, 0 deletions