From 7988dbbcebffe79fe524528db115e76b3c20cd90 Mon Sep 17 00:00:00 2001 From: "Misono, Tomohiro" Date: Wed, 8 Nov 2017 13:27:00 +0900 Subject: [PATCH] common/filter.btrfs: add 'zstd' to compress property filter This fixes the false failure of btrfs/059 when running with the mount option '-o compress=zstd'. Signed-off-by: Tomohiro Misono Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- common/filter.btrfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/filter.btrfs b/common/filter.btrfs index 0cf7f0d3..aaff2278 100644 --- a/common/filter.btrfs +++ b/common/filter.btrfs @@ -69,7 +69,7 @@ _filter_btrfs_subvol_delete() _filter_btrfs_compress_property() { - sed -e "s/compression=\(lzo\|zlib\)/COMPRESSION=XXX/g" + sed -e "s/compression=\(lzo\|zlib\|zstd\)/COMPRESSION=XXX/g" } # filter error messages from btrfs prop, optionally verify against $1 -- 2.39.5