From: Joanne Chang <joannechien@google.com>
To: Zorro Lang <zlang@kernel.org>, fstests@vger.kernel.org
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
linux-f2fs-devel@lists.sourceforge.net,
Chao Yu <chao@kernel.org>, Joanne Chang <joannechien@google.com>
Subject: [PATCH v1 2/2] f2fs/021: Fix mount syntax for disabling jquota
Date: Wed, 13 May 2026 03:20:09 +0000 [thread overview]
Message-ID: <20260513032009.2300435-2-joannechien@google.com> (raw)
In-Reply-To: <20260513032009.2300435-1-joannechien@google.com>
F2FS has removed the trailing "=" in the mount options for disabling
user journaled quotas. Update f2fs/021 to try the new syntax first and
fall back to the legacy syntax if the initial mount attempt fails.
Signed-off-by: Joanne Chang <joannechien@google.com>
---
tests/f2fs/021 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/f2fs/021 b/tests/f2fs/021
index 0cacb138..70b10fa8 100755
--- a/tests/f2fs/021
+++ b/tests/f2fs/021
@@ -21,7 +21,9 @@ quotacheck -uc $SCRATCH_MNT
_scratch_unmount
_scratch_mount "-o usrjquota=aquota.user,jqfmt=vfsold"
-_scratch_mount "-o remount,usrjquota=,jqfmt=vfsold"
+if ! _try_scratch_mount "-o remount,usrjquota,jqfmt=vfsold" >> $seqres.full 2>&1; then
+ _scratch_mount "-o remount,usrjquota=,jqfmt=vfsold"
+fi
_scratch_unmount
echo "Silence is golden"
--
2.54.0.563.g4f69b47b94-goog
prev parent reply other threads:[~2026-05-13 3:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 3:20 [PATCH v1 1/2] f2fs/015: Fix mount syntax for disabling jquota Joanne Chang
2026-05-13 3:20 ` Joanne Chang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260513032009.2300435-2-joannechien@google.com \
--to=joannechien@google.com \
--cc=chao@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=zlang@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox