btrfs: add test regarding clearing compression flag/property
authorFilipe Manana <fdmanana@suse.com>
Mon, 29 Sep 2014 02:54:55 +0000 (12:54 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 02:54:55 +0000 (12:54 +1000)
commit05ffa663c7ac4c7e7530c9ba90fcb6ba32b8e6f6
tree2f7ecb03870ff228808869c7ff04d0f449d67c9e
parent1a2d0629396820c7e1c46228a869051508fe4bc6
btrfs: add test regarding clearing compression flag/property

Regression test for btrfs where removing the flag FS_COMPR_FL
(chattr -c) from an inode wouldn't clear its compression property.
This was fixed in the following linux kernel patch:

  Btrfs: add missing compression property remove in btrfs_ioctl_setflags

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/059 [new file with mode: 0755]
tests/btrfs/059.out [new file with mode: 0644]
tests/btrfs/group