OSDN Git Service

btrfs: scrub: remove unused nocow worker pointer
authorDavid Sterba <dsterba@suse.com>
Tue, 12 Feb 2019 17:20:04 +0000 (18:20 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:38 +0000 (14:13 +0100)
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").

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h

index f92f973..8514091 100644 (file)
@@ -1082,7 +1082,6 @@ struct btrfs_fs_info {
        refcount_t 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