mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
[PATCH] hfs: cleanup HFS prints
Add the log level and a "hfs: " prefix to all kernel prints. 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
634725a929
commit
7cf3cc3036
@@ -64,7 +64,6 @@ int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd)
|
||||
else
|
||||
e = rec - 1;
|
||||
} while (b <= e);
|
||||
//printk("%d: %d,%d,%d\n", bnode->this, b, e, rec);
|
||||
if (rec != e && e >= 0) {
|
||||
len = hfs_brec_lenoff(bnode, e, &off);
|
||||
keylen = hfs_brec_keylen(bnode, e);
|
||||
@@ -127,7 +126,7 @@ int hfs_brec_find(struct hfs_find_data *fd)
|
||||
return res;
|
||||
|
||||
invalid:
|
||||
printk("HFS: inconsistency in B*Tree (%d,%d,%d,%u,%u)\n",
|
||||
printk(KERN_ERR "hfs: inconsistency in B*Tree (%d,%d,%d,%u,%u)\n",
|
||||
height, bnode->height, bnode->type, nidx, parent);
|
||||
res = -EIO;
|
||||
release:
|
||||
|
||||
Reference in New Issue
Block a user