Factor opencoded switches for compression algos to helpers. David Sterba (4): btrfs: compression: add helper for type to string conversion btrfs: SETFLAGS ioctl: use helper for compression type conversion btrfs: prop: use common helper for type to string conversion btrfs: show options: use helper to convert compression type string fs/btrfs/compression.c | 15 +++++++++++++++ fs/btrfs/compression.h | 2 ++ fs/btrfs/ioctl.c | 10 ++++------ fs/btrfs/props.c | 6 +++--- fs/btrfs/super.c | 9 ++------- 5 files changed, 26 insertions(+), 16 deletions(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
