]> 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)
commit61d9ab80fd40893745a11ea2ae69953bff2ac5dc
treeede5269ab3f4dbde076d9d7e5a3042c1966b1743
parent1685c3db53ca56506c848b0997b8b1f3bd674939
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]