btrfs: rename flags for vol args v2
authorDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 17:15:21 +0000 (18:15 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commit735654ea91a06a30bfe05fdfd09c8895abf6c1bf
treed49c49b532338f20c636221fb6e160e2f2df18d9
parent5c5c0df05deaebcdcc9bb31bdca3812a7c22230f
btrfs: rename flags for vol args v2

Rename BTRFS_DEVICE_BY_ID so it's more descriptive that we specify the
device by id, it'll be part of the public API. The mask of supported
flags is also renamed, only for internal use.

The error code for unknown flags is EOPNOTSUPP, fixed.

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