diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-21 12:04:40 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-06-24 18:12:16 -0700 |
commit | 63407afb55f8b501ab3c01cc2d97c3693ca5097d (patch) | |
tree | c7542fb8bce0190fd38a427969664cac06371fdc /fs/xfs/libxfs/xfs_defer.h | |
parent | 2379832160ee32d3ca3b0d51e89d9b1d42367cfc (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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.h')
0 files changed, 0 insertions, 0 deletions