projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e94d8
)
ext3: Return proper error code on ext3_fill_super()
author
Namhyung Kim
<namhyung@gmail.com>
Mon, 11 Oct 2010 10:08:06 +0000
(19:08 +0900)
committer
Jan Kara
<jack@suse.cz>
Wed, 27 Oct 2010 23:30:03 +0000
(
01:30
+0200)
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext3/super.c
b/fs/ext3/super.c
index af7aead1000a93e63710d3012000710769fff4c0..1811c6fd5ba4b7d6f21d52d67a54fd503f46c899 100644
(file)
--- 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)
if (sbi->s_group_desc == NULL) {
ext3_msg(sb, KERN_ERR,
"error: not enough memory");
+ ret = -ENOMEM;
goto failed_mount;
}
@@
-1958,6
+1959,7
@@
static int ext3_fill_super (struct super_block *sb, void *data, int silent)
}
if (err) {
ext3_msg(sb, KERN_ERR, "error: insufficient memory");
+ ret = err;
goto failed_mount3;
}