]> 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)
commitca70d8afbe8dc4d3d7981c81429dbd4fa4d5e22d
tree9b26013a61c2a53a1e3375b1bcc7f7603602d208
parent336e7e98214a1c3bfe9c1fd5144d195e47bb53eb
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