Skip to content

Commit

Permalink
logfs: Return -EINVAL if filesystem image doesn't match
Browse files Browse the repository at this point in the history
Signed-off-by: Joern Engel <joern@logfs.org>
  • Loading branch information
Joern Engel committed May 1, 2010
1 parent 2e531fa commit ad34263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/logfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad34263

Please sign in to comment.