]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: allow empty mount string for Opt_usr|grp|projjquota
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 30 Mar 2026 23:40:59 +0000 (23:40 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 13 Apr 2026 22:50:51 +0000 (22:50 +0000)
commit2a3db1e02ce08c14af04da70bb99e8a0a31eb9e8
tree340e03dba076658ca567d2068f5a50ea03b70acc
parent01968164d94762db2f703647c5acfa28613844f1
f2fs: allow empty mount string for Opt_usr|grp|projjquota

The fsparam_string_empty() gives an error when mounting without string, since
its type is set to fsparam_flag in VFS. So, let's allow the flag as well.

This addresses xfstests/f2fs/015 and f2fs/021.

Fixes: d18535132523 ("f2fs: separate the options parsing and options checking")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c