]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use feature attribute names to print better error messages
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Nov 2013 17:07:02 +0000 (13:07 -0400)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:28 +0000 (13:19 -0800)
commitcd6abbf0a2fe5bf89ba61f9520af3e390cf13973
tree4768baefa0c5ed4e76e215c444e100680c992746
parent67bedd78375f871fa7343fda07db4d532a8796e7
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 <jeffm@suse.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h