summaryrefslogtreecommitdiff
path: root/fs/binfmt_misc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-06-25 18:18:55 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-10 10:57:54 -0700
commit8bc6e9f54b8d8d1f8a62e8f674d6e57818c7fa94 (patch)
treee5b2bb8b9614d83158f7a59f910610105d08f2ef /fs/binfmt_misc.c
parent6ad5d489acbf7963ffd73a6bb915534e62a305eb (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>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions