summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-08-03 05:58:29 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-08-04 04:09:52 +0200
commita36c106dffb616250117efb1cab271c19a8f94ff (patch)
treec59bc030e9448910078e09694ef2471d3bd8a624 /fs/f2fs/super.c
parentf2fs: expose features to sysfs entry (diff)
downloadlinux-a36c106dffb616250117efb1cab271c19a8f94ff.tar.xz
linux-a36c106dffb616250117efb1cab271c19a8f94ff.zip
f2fs: use printk_ratelimited for f2fs_msg
This patch reduces contention of printks. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
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);
}