logfs: Return -EINVAL if filesystem image doesn't match
Signed-off-by: Joern Engel <joern@logfs.org>
This commit is contained in:
parent
2e531fa0d0
commit
ad342631f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue