aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@acm.org>2016-07-23 08:36:41 -0400
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 05:01:10 -0400
commitc08f1cb627c43d7b0a1d04a5a0efaf385f0391ad (patch)
treebf354020dda0cbf07e134b89f42c5433dda3fa91
parente808792784e5a4f4532e660697385d3d370f8803 (diff)
fs: befs: remove useless pr_err in befs_init_inodecache()
Remove pr_err since kmem_cache_create log error and dump stack. Link: http://lkml.kernel.org/r/e6d03cbc9542495dc6174b59e32fcd41c1393cfc.1464226521.git.salah.triki@acm.org Signed-off-by: Salah Triki <salah.triki@acm.org>
-rw-r--r--fs/befs/linuxvfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 04541f37fe83..c734f21fd581 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -436,10 +436,9 @@ befs_init_inodecache(void)
436 0, (SLAB_RECLAIM_ACCOUNT| 436 0, (SLAB_RECLAIM_ACCOUNT|
437 SLAB_MEM_SPREAD|SLAB_ACCOUNT), 437 SLAB_MEM_SPREAD|SLAB_ACCOUNT),
438 init_once); 438 init_once);
439 if (befs_inode_cachep == NULL) { 439 if (befs_inode_cachep == NULL)
440 pr_err("%s: Couldn't initialize inode slabcache\n", __func__);
441 return -ENOMEM; 440 return -ENOMEM;
442 } 441
443 return 0; 442 return 0;
444} 443}
445 444
@@ -524,7 +523,6 @@ befs_utf2nls(struct super_block *sb, const char *in,
524 523
525 *out = result = kmalloc(maxlen, GFP_NOFS); 524 *out = result = kmalloc(maxlen, GFP_NOFS);
526 if (!*out) { 525 if (!*out) {
527 *out_len = 0;
528 return -ENOMEM; 526 return -ENOMEM;
529 } 527 }
530 528