[PATCH] hfs: cleanup HFS+ prints
Add the log level and a "hfs: " prefix to all kernel prints. (HFS and HFS+ will use the same prefix, as they share some code and could be merged at some point.) Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
5131cf154a
commit
634725a929
@@ -70,7 +70,7 @@ static int hfsplus_get_last_session(struct super_block *sb,
|
||||
*start = (sector_t)te.cdte_addr.lba << 2;
|
||||
return 0;
|
||||
}
|
||||
printk(KERN_ERR "HFS: Invalid session number or type of track\n");
|
||||
printk(KERN_ERR "hfs: invalid session number or type of track\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
ms_info.addr_format = CDROM_LBA;
|
||||
@@ -143,7 +143,7 @@ int hfsplus_read_wrapper(struct super_block *sb)
|
||||
blocksize >>= 1;
|
||||
|
||||
if (sb_set_blocksize(sb, blocksize) != blocksize) {
|
||||
printk("HFS+: unable to blocksize to %u!\n", blocksize);
|
||||
printk(KERN_ERR "hfs: unable to set blocksize to %u!\n", blocksize);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user