btrfs: sysfs: Use enum/define value for feature array definitions
authorTomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Wed, 16 May 2018 08:09:26 +0000 (17:09 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:39 +0000 (18:23 +0200)
commit6c52157fa9378efc0ff24c5f2602d500997f59db
treecee575f20efb013b1e501c63c218a84adb20d18c
parent6dac13f8e233e50b69df831f6e598a1efb6d3aaa
btrfs: sysfs: Use enum/define value for feature array definitions

Use existing named values instead of the raw numbers.

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h