Commit ad342631 authored by Joern Engel's avatar Joern Engel

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

Signed-off-by: default avatarJoern Engel <joern@logfs.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment