btrfs: scrub: remove unused nocow worker pointer
David Sterba
maintainerPATCH 1/1 btrfs: scrub: remove unused nocow worker pointer
The member btrfs_fs_info::scrub_nocow_workers is unused since the nocow optimization was removed from scrub in 9bebe665c3e4 ("btrfs: scrub:
Remove unused copy_nocow_pages and its callchain").
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)
fs/btrfs/ctree.h +0 -1
@@ -1078,7 +1078,6 @@ struct btrfs_fs_info {int scrub_workers_refcnt;struct btrfs_workqueue *scrub_workers;struct btrfs_workqueue *scrub_wr_completion_workers; -struct btrfs_workqueue *scrub_nocow_workers;struct btrfs_workqueue *scrub_parity_workers;#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
Signature · 1 line
2.20.1
Quoted 5 lines · David Sterba
The member
btrfs_fs_info::scrub_nocow_workersis unused since the nocow optimization was removed from scrub in9bebe665c3e4("btrfs: scrub:
Remove unusedcopy_nocow_pagesand its callchain").Signed-off-by David Sterba <[email protected]>
Reviewed-by Anand Jain <[email protected]>
Quoted 17 lines
--- fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)fs/btrfs/ctree.h +0
-1@@ -1078,7 +1078,6 @@ struct btrfs_fs_info {int scrub_workers_refcnt;struct btrfs_workqueue *scrub_workers;struct btrfs_workqueue *scrub_wr_completion_workers; -struct btrfs_workqueue *scrub_nocow_workers;struct btrfs_workqueue *scrub_parity_workers;#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY