erofs: fix typo in error messages

the option is called "inode_share".

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <xiang@kernel.org>
This commit is contained in:
Giuseppe Scrivano 2026-08-01 13:14:08 +08:00 committed by Gao Xiang
parent 075b74841b
commit 9ba8471dab

View File

@ -607,11 +607,11 @@ static int erofs_fc_fill_super(struct super_block *sb, struct fs_context *fc)
sb->s_op = &erofs_sops;
if (!sbi->domain_id && test_opt(&sbi->opt, INODE_SHARE)) {
errorfc(fc, "domain_id is needed when inode_ishare is on");
errorfc(fc, "domain_id is needed when inode_share is on");
return -EINVAL;
}
if (test_opt(&sbi->opt, DAX_ALWAYS) && test_opt(&sbi->opt, INODE_SHARE)) {
errorfc(fc, "FSDAX is not allowed when inode_ishare is on");
errorfc(fc, "FSDAX is not allowed when inode_share is on");
return -EINVAL;
}