summaryrefslogtreecommitdiff
path: root/fs/btrfs/sysfs.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-29btrfs: publish per-super attributes in sysfsJeff Mahoney1-0/+10
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>
2014-01-29btrfs: publish supported featured in sysfsJeff Mahoney1-0/+43
This patch adds the ability to publish supported features to sysfs under /sys/fs/btrfs/features. The files are module-wide and export which features the kernel supports. The content, for now, is just "0\n". Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>