diff options
author | Alexey Fisher <bug-track@fisher-privat.net> | 2011-04-12 14:08:38 +0200 |
---|---|---|
committer | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2011-04-12 14:12:42 +0200 |
commit | 869f58c0cdba3ae6880ab6113617e62672198773 (patch) | |
tree | f66f0c256d42f6a853c219bc0e3c74d6db2173eb /fs/fat/misc.c | |
parent | fat: Add fat_msg() function for preformated FAT messages (diff) | |
download | linux-869f58c0cdba3ae6880ab6113617e62672198773.tar.xz linux-869f58c0cdba3ae6880ab6113617e62672198773.zip |
fat: Replace all printk with fat_msg()
Replace all printk with fat_msg()
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r-- | fs/fat/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 3dcabc1bd8c3..6d93360ca0cc 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c @@ -73,15 +73,15 @@ int fat_clusters_flush(struct super_block *sb) bh = sb_bread(sb, sbi->fsinfo_sector); if (bh == NULL) { - printk(KERN_ERR "FAT: bread failed in fat_clusters_flush\n"); + fat_msg(sb, KERN_ERR, "bread failed in fat_clusters_flush"); return -EIO; } fsinfo = (struct fat_boot_fsinfo *)bh->b_data; /* Sanity check */ if (!IS_FSINFO(fsinfo)) { - printk(KERN_ERR "FAT: Invalid FSINFO signature: " - "0x%08x, 0x%08x (sector = %lu)\n", + fat_msg(sb, KERN_ERR, "Invalid FSINFO signature: " + "0x%08x, 0x%08x (sector = %lu)", le32_to_cpu(fsinfo->signature1), le32_to_cpu(fsinfo->signature2), sbi->fsinfo_sector); |