]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: publish device membership in sysfs
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Nov 2013 17:07:05 +0000 (13:07 -0400)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:29 +0000 (13:19 -0800)
commit744434a0b13fa02c8bc666c1742a10b338d88473
tree69ebd72d838112a3c4fefc5fba2620c3eb2fae51
parent8db7fa1708598e613829fd846070627fb9e16363
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>
fs/btrfs/ctree.h
fs/btrfs/sysfs.c