]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: replace direct access to feature set names with a helper
authorDavid Sterba <dsterba@suse.com>
Thu, 1 Aug 2019 17:07:55 +0000 (19:07 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:07 +0000 (14:59 +0200)
commit29a035beff64c7e79246b4170254bbe9df702a57
tree31596741f22f7f5683f717ae214104fb308becd2
parentdabf8770d8fcb4d0d01a80a1b543671598c302cd
btrfs: sysfs: replace direct access to feature set names with a helper

In order to unexport the feature type array, add a helper for the
enum-to-string conversion.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h