diff options
author | Alexey Fisher <bug-track@fisher-privat.net> | 2011-04-12 08:08:38 -0400 |
---|---|---|
committer | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2011-04-12 08:12:42 -0400 |
commit | 869f58c0cdba3ae6880ab6113617e62672198773 (patch) | |
tree | f66f0c256d42f6a853c219bc0e3c74d6db2173eb /fs/fat/fatent.c | |
parent | 81ac21d34a91e85b029cd86e2ed5eeae8d7c3cd4 (diff) |
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/fatent.c')
-rw-r--r-- | fs/fat/fatent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index b47d2c9f4fa1..2e81ac0df7e2 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c | |||
@@ -95,7 +95,7 @@ static int fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, | |||
95 | err_brelse: | 95 | err_brelse: |
96 | brelse(bhs[0]); | 96 | brelse(bhs[0]); |
97 | err: | 97 | err: |
98 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", (llu)blocknr); | 98 | fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", (llu)blocknr); |
99 | return -EIO; | 99 | return -EIO; |
100 | } | 100 | } |
101 | 101 | ||
@@ -108,7 +108,7 @@ static int fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, | |||
108 | fatent->fat_inode = MSDOS_SB(sb)->fat_inode; | 108 | fatent->fat_inode = MSDOS_SB(sb)->fat_inode; |
109 | fatent->bhs[0] = sb_bread(sb, blocknr); | 109 | fatent->bhs[0] = sb_bread(sb, blocknr); |
110 | if (!fatent->bhs[0]) { | 110 | if (!fatent->bhs[0]) { |
111 | printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", | 111 | fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", |
112 | (llu)blocknr); | 112 | (llu)blocknr); |
113 | return -EIO; | 113 | return -EIO; |
114 | } | 114 | } |