diff options
author | 2020-04-27 18:23:17 -0700 | |
---|---|---|
committer | 2020-05-04 09:03:15 -0700 | |
commit | f15ab3f60ef3f25c6139262939388dc5617e2e6f (patch) | |
tree | 5d2a9ecb2b4db7bf8f0b968637741acc02680668 /fs/xfs/libxfs/xfs_inode_fork.c | |
parent | xfs: factor out a xlog_buf_readahead helper (diff) | |
download | wireguard-linux-f15ab3f60ef3f25c6139262939388dc5617e2e6f.tar.xz wireguard-linux-f15ab3f60ef3f25c6139262939388dc5617e2e6f.zip |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions