diff options
author | Qu Wenruo <wqu@suse.com> | 2023-01-16 15:04:13 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:16 +0200 |
commit | 6b4d375a81551bec17854b51e13efb58b45c8a76 (patch) | |
tree | a21f71f8191c0fd7add290a4df161ed404fd05d4 /fs/btrfs/fs.h | |
parent | 1d40329736907587ac5995d2d4b3263759ff84e3 (diff) |
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 <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/fs.h')
0 files changed, 0 insertions, 0 deletions