summaryrefslogtreecommitdiffstats
path: root/fs/exfat/misc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2020-04-24 06:31:12 +0200
committerNamjae Jeon <namjae.jeon@samsung.com>2020-06-09 09:48:34 +0200
commitd1727d55c0327efdba2a5bad7801d509b721fef3 (patch)
tree8ac61875a87012d14f844ddd2abe859fe04e3039 /fs/exfat/misc.c
parentexfat: Simplify exfat_utf8_d_cmp() for code points above U+FFFF (diff)
downloadlinux-d1727d55c0327efdba2a5bad7801d509b721fef3.tar.xz
linux-d1727d55c0327efdba2a5bad7801d509b721fef3.zip
exfat: Use a more common logging style
Remove the direct use of KERN_<LEVEL> in functions by creating separate exfat_<level> macros. Miscellanea: o Remove several unnecessary terminating newlines in formats o Realign arguments and fit to 80 columns where appropriate Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'fs/exfat/misc.c')
-rw-r--r--fs/exfat/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/misc.c b/fs/exfat/misc.c
index ebd2cbe3cbc1..ce5e8a1b0726 100644
--- a/fs/exfat/misc.c
+++ b/fs/exfat/misc.c
@@ -32,7 +32,7 @@ void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...)
va_start(args, fmt);
vaf.fmt = fmt;
vaf.va = &args;
- exfat_msg(sb, KERN_ERR, "error, %pV\n", &vaf);
+ exfat_err(sb, "error, %pV", &vaf);
va_end(args);
}
@@ -41,7 +41,7 @@ void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...)
sb->s_id);
} else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) {
sb->s_flags |= SB_RDONLY;
- exfat_msg(sb, KERN_ERR, "Filesystem has been set read-only");
+ exfat_err(sb, "Filesystem has been set read-only");
}
}