Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
	}