diff options
author | Filipe Manana <fdmanana@suse.com> | 2020-03-09 13:41:07 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:56 +0100 |
commit | da447009a25609327309f695b244710f12794471 (patch) | |
tree | a9a757b6e55022684d04e186b92875e5a546959a /mm/process_vm_access.c | |
parent | btrfs: add helper to get the end offset of a file extent item (diff) | |
download | linux-da447009a25609327309f695b244710f12794471.tar.xz linux-da447009a25609327309f695b244710f12794471.zip |
btrfs: factor out inode items copy loop from btrfs_log_inode()
The function btrfs_log_inode() is quite large and so is its loop which
iterates the inode items from the fs/subvolume tree and copies them into
a log tree. Because this is a large loop inside a very large function
and because an upcoming patch in this series needs to add some more logic
inside that loop, move the loop into a helper function to make it a bit
more manageable.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions