From 1ffbdcaae45a6acf76193f3a83c78e837d14f8ad Mon Sep 17 00:00:00 2001 From: Joanne Chang Date: Wed, 12 Nov 2025 13:52:23 +0000 Subject: [PATCH] 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 --- tests/f2fs/019 | 1 + tests/f2fs/020 | 1 + 2 files changed, 2 insertions(+) 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 -- 2.47.3