]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add GET_SUPPORTED_FEATURES to the control device ioctls
authorDavid Sterba <dsterba@suse.com>
Wed, 17 Feb 2016 14:24:14 +0000 (15:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Feb 2016 11:56:21 +0000 (12:56 +0100)
commit24ba1c0962ca6b2f6e8364851d13f3c9dbf4e5bc
tree23238ca3d341afa5016af29323107f477c9f3c63
parent2827ae15dc0f2c90e519a70f2b9ddebe33f2361f
btrfs: add GET_SUPPORTED_FEATURES to the control device ioctls

The control device is accessible when no filesystem is mounted and we
may want to query features supported by the module. This is already
possible using the sysfs files, this ioctl is for parity and
convenience.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/super.c