btrfs: publish per-super attributes in sysfs
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Nov 2013 17:06:58 +0000 (13:06 -0400)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:25 +0000 (13:19 -0800)
commit5ac1d209f11271fbfad0fa31ba56ec64c142d9ea
tree15f67ec6c85caa87b3358df2876f51becdf04b49
parent079b72bca30dbc74c86c7c7825b8c34eb86ce3ee
btrfs: publish per-super attributes in sysfs

This patch adds per-super attributes to sysfs.

It doesn't publish any attributes yet, but does the proper lifetime
handling as well as the basic infrastructure to add new attributes.

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/disk-io.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h