aboutsummaryrefslogtreecommitdiffstats
path: root/fs/logfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/logfs')
-rw-r--r--fs/logfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/logfs/super.c b/fs/logfs/super.c
index 7fc4625c6f02..edd99487f93a 100644
--- a/fs/logfs/super.c
+++ b/fs/logfs/super.c
@@ -413,7 +413,7 @@ static int __logfs_read_sb(struct super_block *sb)
413 413
414 page = find_super_block(sb); 414 page = find_super_block(sb);
415 if (!page) 415 if (!page)
416 return -EIO; 416 return -EINVAL;
417 417
418 ds = page_address(page); 418 ds = page_address(page);
419 super->s_size = be64_to_cpu(ds->ds_filesystem_size); 419 super->s_size = be64_to_cpu(ds->ds_filesystem_size);