btrfs: use feature attribute names to print better error messages
authorJeff Mahoney <[email protected]>
Fri, 1 Nov 2013 17:07:02 +0000 (13:07 -0400)
committerChris Mason <[email protected]>
Tue, 28 Jan 2014 21:19:28 +0000 (13:19 -0800)
commit3b02a68a636400590dd6831a5fc046f0a7909a77
tree4768baefa0c5ed4e76e215c444e100680c992746
parentba631941ef09c10e229661219dbd1707e56131d8
btrfs: use feature attribute names to print better error messages

Now that we have the feature name strings available in the kernel via
the sysfs attributes, we can use them for printing better failure
messages from the ioctl path.

Signed-off-by: Jeff Mahoney <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ioctl.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h