]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: simplify xlog_recover_inode_ra_pass2
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Apr 2020 01:23:17 +0000 (18:23 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:15 +0000 (09:03 -0700)
commit78ae9f496c325f85807aeefd7589ac971e6f1bab
tree5d2a9ecb2b4db7bf8f0b968637741acc02680668
parent73f32a00b8c70e292c56052a6d81420b9c395994
xfs: simplify xlog_recover_inode_ra_pass2

Don't bother to allocate memory and convert the log item when we
only need the block number and the length.  Just extract them directly
and call xlog_buf_readahead separately in each branch.

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