Commit a6499850 authored by Luis de Bethencourt's avatar Luis de Bethencourt

fs: befs: check silent flag before logging error

Log error only when silent flag is not set.

Fixes: dbe6460388bc ("fs/befs/linuxvfs.c: check silent flag before logging errors")
Signed-off-by: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: default avatarSalah Triki <salah.triki@gmail.com>
parent f7f67540
......@@ -791,6 +791,7 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
*/
blocksize = sb_min_blocksize(sb, 1024);
if (!blocksize) {
if (!silent)
befs_error(sb, "unable to set blocksize");
goto unacquire_priv_sbp;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment