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

Commit 282c24c9 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Jaegeuk Kim
Browse files

f2fs: use printk_ratelimited for f2fs_msg



commit a36c106dffb616250117efb1cab271c19a8f94ff upstream.

This patch reduces contention of printks.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent a6c28447
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ void f2fs_msg(struct super_block *sb, const char *level, const char *fmt, ...)
	va_start(args, fmt);
	vaf.fmt = fmt;
	vaf.va = &args;
	printk("%sF2FS-fs (%s): %pV\n", level, sb->s_id, &vaf);
	printk_ratelimited("%sF2FS-fs (%s): %pV\n", level, sb->s_id, &vaf);
	va_end(args);
}