]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor intent item iop_recover calls
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 May 2020 23:00:55 +0000 (16:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 8 May 2020 15:50:01 +0000 (08:50 -0700)
commit53ece34e9929d1727abe29b347e55a510ec55993
tree9b26013a61c2a53a1e3375b1bcc7f7603602d208
parent9803129c0412a4d7b84382e09b51b9d5e2b67899
xfs: refactor intent item iop_recover calls

Now that we've made the recovered item tests all the same, we can hoist
the test and the ail locking code to the ->iop_recover caller and call
the recovery function directly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c