summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-02-12 18:20:04 +0100
committerDavid Sterba <dsterba@suse.com>2019-02-25 14:13:38 +0100
commit0ea82076262f4467ff6f7f8ac11efeeeed0d1a33 (patch)
tree19d8e22caaa121f5013c6cd9fd5234dd19bccfd9
parentc8352942745e260d68dfdfdfbecd276c2aac3277 (diff)
downloadlinux-stable-0ea82076262f4467ff6f7f8ac11efeeeed0d1a33.tar.gz
linux-stable-0ea82076262f4467ff6f7f8ac11efeeeed0d1a33.tar.bz2
linux-stable-0ea82076262f4467ff6f7f8ac11efeeeed0d1a33.zip
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"). Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index f92f97304e69..85140913c0f5 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -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