]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs: test remount with "compress" clears "compress-force"
authorFilipe Manana <fdmanana@suse.com>
Fri, 25 Oct 2024 17:24:21 +0000 (18:24 +0100)
committerZorro Lang <zlang@kernel.org>
Sat, 26 Oct 2024 14:28:38 +0000 (22:28 +0800)
commitf056971a4d2f2314b162e8e2114514dc86cd8515
treeab81734a735fd21e367b94c73c76b2a78c0ab8a4
parent6d97ae8ddebf56b029a256a2292036995ec900fb
btrfs: test remount with "compress" clears "compress-force"

Test that remounting with the "compress" mount option clears the
"compress-force" mount option previously specified.

This tests a regression introduced with kernel 6.8 and recently fixed by
the following kernel commit:

  3510e684b8f6 ("btrfs: clear force-compress on remount when compress mount option is given")

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/324 [new file with mode: 0755]
tests/btrfs/324.out [new file with mode: 0644]