diff options
| author | Qu Wenruo <[email protected]> | 2023-01-16 07:04:13 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-04-17 16:01:16 +0000 |
| commit | 6b4d375a81551bec17854b51e13efb58b45c8a76 (patch) | |
| tree | a21f71f8191c0fd7add290a4df161ed404fd05d4 /fs/btrfs/compression.c | |
| parent | btrfs: scrub: remove unused path inside scrub_stripe() (diff) | |
| download | kernel-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
