Hi Greg, Here's the backport of aa53e3bfac72 ("btrfs: correctly validate compression type") for v4.14 with it's prerequisite e128f9c3f724 ("btrfs: compression: add helper for type to string conversion"). David Sterba (1): btrfs: compression: add helper for type to string conversion Johannes Thumshirn (1): btrfs: correctly validate compression type fs/btrfs/compression.c | 31 +++++++++++++++++++++++++++++++ fs/btrfs/compression.h | 3 +++ fs/btrfs/props.c | 6 +----- 3 files changed, 35 insertions(+), 5 deletions(-) -- 2.16.4