diff options
| -rw-r--r-- | fs/ext3/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index af7aead1000a..1811c6fd5ba4 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
| @@ -1871,6 +1871,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent) | |||
| 1871 | if (sbi->s_group_desc == NULL) { | 1871 | if (sbi->s_group_desc == NULL) { |
| 1872 | ext3_msg(sb, KERN_ERR, | 1872 | ext3_msg(sb, KERN_ERR, |
| 1873 | "error: not enough memory"); | 1873 | "error: not enough memory"); |
| 1874 | ret = -ENOMEM; | ||
| 1874 | goto failed_mount; | 1875 | goto failed_mount; |
| 1875 | } | 1876 | } |
| 1876 | 1877 | ||
| @@ -1958,6 +1959,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent) | |||
| 1958 | } | 1959 | } |
| 1959 | if (err) { | 1960 | if (err) { |
| 1960 | ext3_msg(sb, KERN_ERR, "error: insufficient memory"); | 1961 | ext3_msg(sb, KERN_ERR, "error: insufficient memory"); |
| 1962 | ret = err; | ||
| 1961 | goto failed_mount3; | 1963 | goto failed_mount3; |
| 1962 | } | 1964 | } |
| 1963 | 1965 | ||
