提交 ad342631 编写于 作者: J Joern Engel

logfs: Return -EINVAL if filesystem image doesn't match

Signed-off-by: NJoern Engel <joern@logfs.org>
上级 2e531fa0
......@@ -413,7 +413,7 @@ static int __logfs_read_sb(struct super_block *sb)
page = find_super_block(sb);
if (!page)
return -EIO;
return -EINVAL;
ds = page_address(page);
super->s_size = be64_to_cpu(ds->ds_filesystem_size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册