aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-11-21 17:33:30 +0800
committerDavid Sterba <dsterba@suse.com>2020-01-20 16:40:49 +0100
commitb5501504cb6a70d55c3dcf1b2ceb15386e615237 (patch)
treee449ec5a73dc83c90b40c007f9eaf6df5864eb49 /fs/btrfs/volumes.h
parentbtrfs: fill ncopies for all raid table entries (diff)
downloadlinux-dev-b5501504cb6a70d55c3dcf1b2ceb15386e615237.tar.xz
linux-dev-b5501504cb6a70d55c3dcf1b2ceb15386e615237.zip
btrfs: sysfs, rename devices kobject holder to devices_kobj
The struct member btrfs_device::device_dir_kobj holds the kobj of the sysfs directory /sys/fs/btrfs/UUID/devices, so rename it from device_dir_kobj to devices_kobj. No functional changes. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.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 fc1b564b9cfe..3c56ef571b00 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -255,7 +255,7 @@ struct btrfs_fs_devices {
struct btrfs_fs_info *fs_info;
/* sysfs kobjects */
struct kobject fsid_kobj;
- struct kobject *device_dir_kobj;
+ struct kobject *devices_kobj;
struct completion kobj_unregister;
};