]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
f2fs/{019,020}: clear MOUNT_OPTIONS alongside MKFS_OPTIONS
authorJoanne Chang <joannechien@google.com>
Wed, 12 Nov 2025 13:52:23 +0000 (13:52 +0000)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Nov 2025 07:12:01 +0000 (15:12 +0800)
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 <joannechien@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/f2fs/019
tests/f2fs/020

index a6e6e38cd763a4b5ec59cb0a40b88882bc4e1bb5..721f21804dd6aa016117a92c42ffaf65bbd17062 100755 (executable)
@@ -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
 
index a693313401f8a60c5439249dea20f50cfa06a533..eecd312da0b613f7bbf041ec28f25cb0928f7848 100755 (executable)
@@ -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