]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: publish supported featured in sysfs
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Nov 2013 17:06:57 +0000 (13:06 -0400)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:25 +0000 (13:19 -0800)
commit4d6e467c93bae5af55a7b88ded1268b847485767
treeede5269ab3f4dbde076d9d7e5a3042c1966b1743
parente44f5d67aa9188324a5c91793f80ce5dd9e0df6a
btrfs: publish supported featured in sysfs

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>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h [new file with mode: 0644]