Commit ad342631f13d40aa787b9e5aaf4800f10d6c3647

Authored by Joern Engel
1 parent 2e531fa0d0

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

Signed-off-by: Joern Engel <joern@logfs.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -413,7 +413,7 @@
413 413  
414 414 page = find_super_block(sb);
415 415 if (!page)
416   - return -EIO;
  416 + return -EINVAL;
417 417  
418 418 ds = page_address(page);
419 419 super->s_size = be64_to_cpu(ds->ds_filesystem_size);