btrfs: compression: add helper for type to string conversion
commit e128f9c3 upstream. There are several places opencoding this conversion, add a helper now that we have 3 compression algorithms. Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
f37ed9bc
Please register or sign in to comment