projects
/
GitHub
/
moto-9609
/
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:
dceee2e
)
fs/befs/linuxvfs.c: remove useless pr_err in befs_fill_super()
author
Salah Triki
<salah.triki@acm.org>
Sat, 23 Jul 2016 12:36:41 +0000
(22:36 +1000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:09 +0000
(10:01 +0100)
Remove pr_err since when kzalloc fails there is a generic out of memory
and stack dump.
Link:
http://lkml.kernel.org/r/c5a7f2d42ec0fc8465c118248e88cd221c483391.1464226521.git.salah.triki@acm.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/befs/linuxvfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index edee857c2b084c188986a536f5ebf13f20abfe3f..5b47b0fbffdd528dc553b69856a512e77ff6dfe0 100644
(file)
--- a/
fs/befs/linuxvfs.c
+++ b/
fs/befs/linuxvfs.c
@@
-764,11
+764,9
@@
befs_fill_super(struct super_block *sb, void *data, int silent)
save_mount_options(sb, data);
sb->s_fs_info = kzalloc(sizeof(*befs_sb), GFP_KERNEL);
- if (sb->s_fs_info == NULL) {
- pr_err("(%s): Unable to allocate memory for private "
- "portion of superblock. Bailing.\n", sb->s_id);
+ if (sb->s_fs_info == NULL)
goto unacquire_none;
- }
+
befs_sb = BEFS_SB(sb);
if (!parse_options((char *) data, &befs_sb->mount_opts)) {