[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
@@ -349,10 +349,9 @@ int hfsplus_file_extend(struct inode *inode)
|
||||
|
||||
if (HFSPLUS_SB(sb).alloc_file->i_size * 8 < HFSPLUS_SB(sb).total_blocks - HFSPLUS_SB(sb).free_blocks + 8) {
|
||||
// extend alloc file
|
||||
printk("extend alloc file! (%Lu,%u,%u)\n", HFSPLUS_SB(sb).alloc_file->i_size * 8,
|
||||
printk(KERN_ERR "hfs: extend alloc file! (%Lu,%u,%u)\n", HFSPLUS_SB(sb).alloc_file->i_size * 8,
|
||||
HFSPLUS_SB(sb).total_blocks, HFSPLUS_SB(sb).free_blocks);
|
||||
return -ENOSPC;
|
||||
//BUG();
|
||||
}
|
||||
|
||||
down(&HFSPLUS_I(inode).extents_lock);
|
||||
|
Reference in New Issue
Block a user