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)
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]

Simple merge
Simple merge