summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-01-03 16:08:30 +0800
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:20 +0100
commitcadbc0a0670e32e42282b388ac8b7539100ac0f2 (patch)
treecacc4d95e0552c438cf412e1b0451440a0fc7f4c /fs/btrfs/volumes.h
parent922ea8994a39ae56d1babbdd98228aef0543bf52 (diff)
downloadlinux-cadbc0a0670e32e42282b388ac8b7539100ac0f2.tar.bz2
btrfs: rename btrfs_device::scrub_device to scrub_ctx
btrfs_device::scrub_device is not a device which is being scrubbed, but it holds the scrub context, so rename to reflect the same. No functional changes here. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index a339bcf72feb..15216fed918b 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -131,7 +131,7 @@ struct btrfs_device {
struct completion flush_wait;
/* per-device scrub information */
- struct scrub_ctx *scrub_device;
+ struct scrub_ctx *scrub_ctx;
struct btrfs_work work;
struct rcu_head rcu;