summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_refcount_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-25 17:39:50 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-05 10:10:29 -0700
commit93a7284a9690bbb4da2bc49eaf1a89d0b95a7b4c (patch)
treebcf706917be3e6f0889fd5ad4ca2600573cd540c /fs/xfs/xfs_refcount_item.c
parent81d207e0ebf69c4466bb3b7a28d7cd363c47736a (diff)
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