btrfs-progs: Make btrfs-debug-tree print all readable strings for inode flags
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 10 Oct 2016 02:12:22 +0000 (10:12 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Oct 2016 12:58:02 +0000 (14:58 +0200)
commit5bd4016363d117f731caa044a444f2769b694f5c
tree415f5cd689e013611d3adaea610a404481262b48
parente93f3e7ded0e9f22c8dc0fc70d8512f0fae013e5
btrfs-progs: Make btrfs-debug-tree print all readable strings for inode flags

Before this patch, only 3 inode flags have readable string: NODATACOW,
NODATASUM, READONLY.

This patch will output all readable strings for remaining inode flags,
making debug-tree tool more handy.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
[ minor adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
print-tree.c