]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: consolidate unsupported option handling errors
authorEric Sandeen <sandeen@redhat.com>
Mon, 3 Mar 2025 17:12:12 +0000 (11:12 -0600)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Mar 2025 18:16:06 +0000 (18:16 +0000)
commit277352b6cbeda5c0976e56d25e3fcd775db96305
tree9024f65f1f1b79d2a82bd8df24c7247980796de9
parent64ee7503cbf662a3f4d6f464178de1607849e37e
f2fs: consolidate unsupported option handling errors

When certain build-time options are disabled, some mount options are not
accepted. For quota and compression, all related options are dismissed
with a single error message. For xattr, acl, and fault injection, each
option is handled individually. In addition, inline_xattr_size was missed
when CONFIG_F2FS_FS_XATTR was disabled.

Collapse xattr, acl, and fault injection errors into a single string, for
simplicity, and handle the missing inline_xattr_size case.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c