diff options
author | Mihai Moldovan <ionic@ionic.de> | 2011-08-17 06:10:08 -0400 |
---|---|---|
committer | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2011-08-17 06:34:59 -0400 |
commit | 186b53701ca5a843b07ca44a8d954dc6043c70f4 (patch) | |
tree | 308d83d28fb04527df232171ed1408c3a9c8d1a5 /fs/fat | |
parent | 8c320c079cde0286d71368961231e426539868b4 (diff) |
fat: fix utf8 iocharset warning message
The fat_msg function already formats the given message and appends
a newline to it - we don't need to do this in the passed message
string as well, or will end up with a blank line printed in the
kernel log ring buffer.
Also change the loglevel from error to warning.
Signed-off-by: Mihai Moldovan <ionic@ionic.de>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index cb8d8391ac0b..52bcf58104e2 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -1186,9 +1186,9 @@ static int parse_options(struct super_block *sb, char *options, int is_vfat, | |||
1186 | out: | 1186 | out: |
1187 | /* UTF-8 doesn't provide FAT semantics */ | 1187 | /* UTF-8 doesn't provide FAT semantics */ |
1188 | if (!strcmp(opts->iocharset, "utf8")) { | 1188 | if (!strcmp(opts->iocharset, "utf8")) { |
1189 | fat_msg(sb, KERN_ERR, "utf8 is not a recommended IO charset" | 1189 | fat_msg(sb, KERN_WARNING, "utf8 is not a recommended IO charset" |
1190 | " for FAT filesystems, filesystem will be " | 1190 | " for FAT filesystems, filesystem will be " |
1191 | "case sensitive!\n"); | 1191 | "case sensitive!"); |
1192 | } | 1192 | } |
1193 | 1193 | ||
1194 | /* If user doesn't specify allow_utime, it's initialized from dmask. */ | 1194 | /* If user doesn't specify allow_utime, it's initialized from dmask. */ |