From: Jaegeuk Kim Date: Thu, 3 Aug 2017 03:58:29 +0000 (-0700) Subject: f2fs: use printk_ratelimited for f2fs_msg X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a36c106dffb616250117efb1cab271c19a8f94ff;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git f2fs: use printk_ratelimited for f2fs_msg This patch reduces contention of printks. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index fc757c8861b7..b84367856f8e 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -159,7 +159,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); }