diff options
author | Qu Wenruo <wqu@suse.com> | 2023-06-14 14:39:55 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:52:13 +0200 |
commit | 17353a3447927455b8242aa371488b7af01c5e14 (patch) | |
tree | 92de067d89cfd29f6fab1ac3fdd4c683a6916f43 /drivers/vdpa/Kconfig | |
parent | 7b365a2a3d31cc523ad24f2147285c3707297ce8 (diff) |
btrfs: scrub: remove unused btrfs_path in scrub_simple_mirror()
The @path in scrub_simple_mirror() is no longer utilized after commit
e02ee89baa66 ("btrfs: scrub: switch scrub_simple_mirror() to scrub_stripe
infrastructure").
Before that commit, we call find_first_extent_item() directly, which
needs a path and that path can be reused. But after that switch commit,
the extent search is done inside queue_scrub_stripe(), which will no
longer accept a path from outside.
So the @path variable can be safely removed.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ remove the stale comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/vdpa/Kconfig')
0 files changed, 0 insertions, 0 deletions