projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb03f41
)
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>
Tue, 9 Aug 2016 14:18:06 +0000
(15:18 +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
|
blame
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index 619b998e9a1eb6d7a6f8f27d19ec1cce25bec169..9272f614d985ba803a46e3c44dfa0a5fcd96a5da 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;
}
This page took
0.036634 seconds
and
5
git commands to generate.