From: Joanne Chang Date: Wed, 12 Nov 2025 13:52:23 +0000 (+0000) Subject: f2fs/{019,020}: clear MOUNT_OPTIONS alongside MKFS_OPTIONS X-Git-Tag: v2025.11.18~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1ffbdcaae45a6acf76193f3a83c78e837d14f8ad;p=xfstests-dev.git f2fs/{019,020}: clear MOUNT_OPTIONS alongside MKFS_OPTIONS Currently, f2fs/019 and f2fs/020 only clears MKFS_OPTIONS. This causes the tests to fail when leftover MOUNT_OPTIONS depend on unapplied MKFS_OPTIONS. So MOUNT_OPTIONS should also be cleared to ensure reliable mounting. Signed-off-by: Joanne Chang Reviewed-by: Chao Yu Signed-off-by: Zorro Lang --- diff --git a/tests/f2fs/019 b/tests/f2fs/019 index a6e6e38c..721f2180 100755 --- a/tests/f2fs/019 +++ b/tests/f2fs/019 @@ -22,6 +22,7 @@ _require_inject_f2fs_command node addr # remove all mkfs options to avoid layout change of on-disk inode export MKFS_OPTIONS="" +export MOUNT_OPTIONS="" testfile=$SCRATCH_MNT/testfile diff --git a/tests/f2fs/020 b/tests/f2fs/020 index a6933134..eecd312d 100755 --- a/tests/f2fs/020 +++ b/tests/f2fs/020 @@ -25,6 +25,7 @@ _require_attrs user # remove all mkfs options to avoid layout change of on-disk inode export MKFS_OPTIONS="" +export MOUNT_OPTIONS="" testdir=$SCRATCH_MNT/testdir