]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit730b86399078180ca8c82c49eb513cfd378b8534
tree8be777b2534ca3cf51195be6670cf8663e3dab1b
parentcd1cf0e719d6753dbdc79d940b6914093a3a2137
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