]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor xlog_recover_buffer_pass1
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Apr 2020 21:39:13 +0000 (14:39 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:16 +0000 (09:03 -0700)
commit7494c67172a4702b2eada0c96a8bdfef6347eaba
treec05234750fc988864047ca59b8882f13fdf98b51
parentcd12f46b769e413b0cbf09b81bba7c37f8345399
xfs: refactor xlog_recover_buffer_pass1

Split out a xlog_add_buffer_cancelled helper which does the low-level
manipulation of the buffer cancelation table, and in that helper call
xlog_find_buffer_cancelled instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log_recover.c