btrfs: add wrong compression type regression test

Btrfs would crash when the users wrote some data into a file with
compress flag but the compression of the fs was disabled. This test
case is to check this bug still happen or not.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Miao Xie
2013-12-03 10:29:34 +11:00
committed by Dave Chinner
parent 5bcbff9155
commit bd50b75f7d
3 changed files with 95 additions and 0 deletions
+1
View File
@@ -26,3 +26,4 @@
021 auto quick
022 auto
023 auto
024 auto quick