aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2023-01-16 07:04:13 +0000
committerDavid Sterba <[email protected]>2023-04-17 16:01:16 +0000
commit6b4d375a81551bec17854b51e13efb58b45c8a76 (patch)
treea21f71f8191c0fd7add290a4df161ed404fd05d4 /fs/btrfs/compression.c
parentbtrfs: scrub: remove unused path inside scrub_stripe() (diff)
downloadkernel-6b4d375a81551bec17854b51e13efb58b45c8a76.tar.gz
kernel-6b4d375a81551bec17854b51e13efb58b45c8a76.zip
btrfs: scrub: remove root and csum_root arguments from scrub_simple_mirror()
We don't need to pass the roots as arguments, reading them from the rb-tree is cheap. Thus there is really not much need to pre-fetch it and pass it all the way from scrub_stripe(). And we already have more than enough arguments in scrub_simple_mirror() and scrub_simple_stripe(), it's better to remove them and only grab those roots in scrub_simple_mirror(). Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions