blk-mq: really fix plug list flushing for nomerge queues
[linux-2.6-block.git] / fs / efs / super.c
index cb68dac4f9d32d64d688079c3a25ea41bdfede33..368f7dd21c610e602478603fe1fb5122a2b453b2 100644 (file)
@@ -275,7 +275,7 @@ static int efs_fill_super(struct super_block *s, void *d, int silent)
 
        if (!bh) {
                pr_err("cannot read volume header\n");
-               return -EINVAL;
+               return -EIO;
        }
 
        /*
@@ -293,7 +293,7 @@ static int efs_fill_super(struct super_block *s, void *d, int silent)
        bh = sb_bread(s, sb->fs_start + EFS_SUPER);
        if (!bh) {
                pr_err("cannot read superblock\n");
-               return -EINVAL;
+               return -EIO;
        }
                
        if (efs_validate_super(sb, (struct efs_super *) bh->b_data)) {