Skip to contentSkip to conversation

fs-efs-fix-return-value.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 23, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: fs/efs/super.c: fix return value
has been removed from the -mm tree. Its filename was
fs-efs-fix-return-value.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Heloise <[email protected]>
Subject: fs/efs/super.c: fix return value

When sb_bread() fails, the return value should be -EIO, fix it.

---

 fs/efs/super.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/efs/super.c renamed from fs/efs/super.c~fs-efs-fix-return-value +2 -2
diff -puN fs/efs/super.c~fs-efs-fix-return-value fs/efs/super.c
@@ -275,7 +275,7 @@ static int efs_fill_super(struct super_b
 
 	if (!bh) {
 		pr_err("cannot read volume header\n");
-		return -EINVAL;
+		return -EIO;
 	}
 
 	/*
@@ -293,7 +293,7 @@ static int efs_fill_super(struct super_b
 	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)) {

_

Patches currently in -mm which might be from [email protected] are