hfs/hfsplus: convert printks to pr_<level>
Use a more current logging style. Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt hfsplus now uses "hfsplus: " for all messages. Coalesce formats. Prefix debugging messages too. Signed-off-by: Joe Perches <joe@perches.com> Cc: Vyacheslav Dubeyko <slava@dubeyko.com> Cc: Hin-Tak Leung <htl10@users.sourceforge.net> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
这个提交包含在:
@@ -137,8 +137,8 @@ int hfs_brec_find(struct hfs_find_data *fd)
|
||||
return res;
|
||||
|
||||
invalid:
|
||||
printk(KERN_ERR "hfs: inconsistency in B*Tree (%d,%d,%d,%u,%u)\n",
|
||||
height, bnode->height, bnode->type, nidx, parent);
|
||||
pr_err("inconsistency in B*Tree (%d,%d,%d,%u,%u)\n",
|
||||
height, bnode->height, bnode->type, nidx, parent);
|
||||
res = -EIO;
|
||||
release:
|
||||
hfs_bnode_put(bnode);
|
||||
|
在新工单中引用
屏蔽一个用户