btrfs: show options: use helper to convert compression type string
authorDavid Sterba <dsterba@suse.com>
Tue, 31 Oct 2017 17:06:34 +0000 (18:06 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:16 +0000 (16:08 +0100)
commit0f628c632d4009527aef597dac3a4a09e628b051
tree03d80d6ab16011001080efaa2ea058edae6b22d2
parent802a5c69584a0e48ab9797e743fb087c7b56a264
btrfs: show options: use helper to convert compression type string

Use the helper, if the COMPRESS option is set, the result is always
defined and not empty.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c