diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-06-25 18:18:55 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-14 19:10:43 -0700 |
commit | 4e5df2c4b07f7e8ed6dd7ed188fb9d26d58ab611 (patch) | |
tree | a45d7c7b2a5d0e800189f142790afa78f4a3e016 /fs/xfs/xfs_icache.c | |
parent | 929bf9205c3b208fd4c222cc96d0ca943d682f8a (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/xfs_icache.c')
0 files changed, 0 insertions, 0 deletions