[PATCH 4.14 14/45] btrfs: compression: add helper for type to string conversion