xfs: refactor xfs_iget calls from log intent recovery
authorDarrick J. Wong <djwong@kernel.org>
Sun, 8 Aug 2021 15:27:13 +0000 (08:27 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 9 Aug 2021 22:57:59 +0000 (15:57 -0700)
commit4bc619833f738f4fa8d931a71610795ebf5cec0e
tree7e09ac7ede3eee231c887a4550dddf96edfdc516
parent2b73a2c817be58de2190940dbfa38dbf8a3806e6
xfs: refactor xfs_iget calls from log intent recovery

Hoist the code from xfs_bui_item_recover that igets an inode and marks
it as being part of log intent recovery.  The next patch will want a
common function.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
fs/xfs/libxfs/xfs_log_recover.h
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_log_recover.c