summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-01-03 09:08:30 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:20 +0100
commitcadbc0a0670e32e42282b388ac8b7539100ac0f2 (patch)
treecacc4d95e0552c438cf412e1b0451440a0fc7f4c /fs/btrfs/volumes.h
parentbtrfS: collapse btrfs_handle_error() into __btrfs_handle_fs_error() (diff)
downloadlinux-cadbc0a0670e32e42282b388ac8b7539100ac0f2.tar.xz
linux-cadbc0a0670e32e42282b388ac8b7539100ac0f2.zip
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;