From: Joern Engel Date: Tue, 27 Apr 2010 11:45:31 +0000 (+0200) Subject: logfs: Return -EINVAL if filesystem image doesn't match X-Git-Tag: upstream/snapshot3+hdmi~14625^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad342631f13d40aa787b9e5aaf4800f10d6c3647;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git logfs: Return -EINVAL if filesystem image doesn't match Signed-off-by: Joern Engel --- diff --git a/fs/logfs/super.c b/fs/logfs/super.c index 7fc4625..edd9948 100644 --- a/fs/logfs/super.c +++ b/fs/logfs/super.c @@ -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);