diff options
author | Jeff Mahoney <jeffm@suse.com> | 2013-11-01 13:07:05 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 13:19:29 -0800 |
commit | 29e5be240a3caf175364fdeecb0441dff500d5d9 (patch) | |
tree | 69ebd72d838112a3c4fefc5fba2620c3eb2fae51 /fs/btrfs/ctree.h | |
parent | 6ab0a2029ceaedb78af807871820708b7353e3be (diff) | |
download | op-kernel-dev-29e5be240a3caf175364fdeecb0441dff500d5d9.zip op-kernel-dev-29e5be240a3caf175364fdeecb0441dff500d5d9.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index f608306..dbe9b31 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; |