diff options
| author | Qu Wenruo <[email protected]> | 2021-12-14 13:01:43 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-01-07 13:18:26 +0000 |
| commit | 2522dbe86b54ff07eb0819a20534c0d33c5414cd (patch) | |
| tree | 9bad3fe3db39dce8db63337f4487e73f9a7ceb94 /fs/btrfs/dev-replace.c | |
| parent | btrfs: refactor unlock_up (diff) | |
| download | kernel-2522dbe86b54ff07eb0819a20534c0d33c5414cd.tar.gz kernel-2522dbe86b54ff07eb0819a20534c0d33c5414cd.zip | |
btrfs: scrub: remove the unnecessary path parameter for scrub_raid56_parity()
In function scrub_stripe() we allocated two btrfs_path's, one @path for
extent tree search and another @ppath for full stripe extent tree search
for RAID56.
This is totally umncessary, as the @ppath usage is completely inside
scrub_raid56_parity(), thus we can move the path allocation into
scrub_raid56_parity() completely.
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/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
