projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f6754
)
fs: befs: check silent flag before logging error
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Wed, 29 Jun 2016 20:27:40 +0000
(21:27 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:13 +0000
(10:01 +0100)
Log error only when silent flag is not set.
Fixes:
dbe6460388bc
("fs/befs/linuxvfs.c: check silent flag before logging errors")
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Salah Triki <salah.triki@gmail.com>
fs/befs/linuxvfs.c
patch
|
blob
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index
619b998
..
9272f61
100644
(file)
--- a/
fs/befs/linuxvfs.c
+++ b/
fs/befs/linuxvfs.c
@@
-791,7
+791,8
@@
befs_fill_super(struct super_block *sb, void *data, int silent)
*/
blocksize = sb_min_blocksize(sb, 1024);
if (!blocksize) {
- befs_error(sb, "unable to set blocksize");
+ if (!silent)
+ befs_error(sb, "unable to set blocksize");
goto unacquire_priv_sbp;
}