summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2013-11-01 13:07:05 -0400
committerChris Mason <clm@fb.com>2014-01-28 13:19:29 -0800
commit29e5be240a3caf175364fdeecb0441dff500d5d9 (patch)
tree69ebd72d838112a3c4fefc5fba2620c3eb2fae51 /fs/btrfs/ctree.h
parent6ab0a2029ceaedb78af807871820708b7353e3be (diff)
downloadblackbird-op-linux-29e5be240a3caf175364fdeecb0441dff500d5d9.tar.gz
blackbird-op-linux-29e5be240a3caf175364fdeecb0441dff500d5d9.zip
btrfs: publish device membership in sysfs
Now that we have the infrastructure for per-super attributes, we can publish device membership in /sys/fs/btrfs/<fsid>/devices. The information is published as symlinks to the block devices. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index f608306b5d88..dbe9b313cdf2 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1530,6 +1530,7 @@ struct btrfs_fs_info {
struct kobject super_kobj;
struct kobject *space_info_kobj;
+ struct kobject *device_dir_kobj;
struct completion kobj_unregister;
int do_barriers;
int closing;
OpenPOWER on IntegriCloud