]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/btrfs/sysfs.c
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)
commitf10152bcc962cae6e78ae4eecfa22270f481c0ff
tree31596741f22f7f5683f717ae214104fb308becd2
parent27992d014554c37aae1cf788fbf6c457b3eceb76
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