btrfs: refactor helper for bg flags to name conversion
authorDavid Sterba <dsterba@suse.com>
Fri, 17 May 2019 09:43:41 +0000 (11:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:58 +0000 (13:34 +0200)
commit158da513b13deb04b266e4ad171871d1a8531f26
tree8be777b2534ca3cf51195be6670cf8663e3dab1b
parente3ecdb3fdecf2d505bd742ffccf1b0a2854f2812
btrfs: refactor helper for bg flags to name conversion

The helper lacks the btrfs_ prefix and the parameter is the raw
blockgroup type, so none of the callers has to do the flags -> index
conversion.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h