summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-02-17 15:24:14 +0100
committerDavid Sterba <dsterba@suse.com>2016-02-23 12:56:21 +0100
commitc5868f8362f5620302c66848d400368f8d4b45f8 (patch)
tree23238ca3d341afa5016af29323107f477c9f3c63 /fs/btrfs/ctree.h
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (diff)
downloadop-kernel-dev-c5868f8362f5620302c66848d400368f8d4b45f8.zip
op-kernel-dev-c5868f8362f5620302c66848d400368f8d4b45f8.tar.gz
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index bfe4a33..47bc50f 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -4089,6 +4089,7 @@ void btrfs_test_inode_set_ops(struct inode *inode);
/* ioctl.c */
long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
+int btrfs_ioctl_get_supported_features(struct file *file, void __user *arg);
void btrfs_update_iflags(struct inode *inode);
void btrfs_inherit_iflags(struct inode *inode, struct inode *dir);
int btrfs_is_empty_uuid(u8 *uuid);
OpenPOWER on IntegriCloud