]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor adding recovered intent items to the log
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 May 2020 23:00:54 +0000 (16:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 8 May 2020 15:50:00 +0000 (08:50 -0700)
commite9a5fe2addc56208a473f5d18b621c16eaa08fa3
tree03bbfe68e9e9b2401d8f3fe0fdecaa4d605a89df
parent6795c256c8eedaa603e8ec37347bef5679141f20
xfs: refactor adding recovered intent items to the log

During recovery, every intent that we recover from the log has to be
added to the AIL.  Replace the open-coded addition with a helper.

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