hfs/hfsplus: convert dprint to hfs_dbg
Use a more current logging style. Rename macro and uses. Add do {} while (0) to macro. Add DBG_ to macro. Add and use hfs_dbg_cont variant where appropriate. 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>
This commit is contained in:

committed by
Linus Torvalds

parent
5f3726f945
commit
c2b3e1f76e
@@ -237,7 +237,7 @@ void hfs_delete_inode(struct inode *inode)
|
||||
{
|
||||
struct super_block *sb = inode->i_sb;
|
||||
|
||||
dprint(DBG_INODE, "delete_inode: %lu\n", inode->i_ino);
|
||||
hfs_dbg(INODE, "delete_inode: %lu\n", inode->i_ino);
|
||||
if (S_ISDIR(inode->i_mode)) {
|
||||
HFS_SB(sb)->folder_count--;
|
||||
if (HFS_I(inode)->cat_key.ParID == cpu_to_be32(HFS_ROOT_CNID))
|
||||
@@ -418,7 +418,7 @@ int hfs_write_inode(struct inode *inode, struct writeback_control *wbc)
|
||||
hfs_cat_rec rec;
|
||||
int res;
|
||||
|
||||
dprint(DBG_INODE, "hfs_write_inode: %lu\n", inode->i_ino);
|
||||
hfs_dbg(INODE, "hfs_write_inode: %lu\n", inode->i_ino);
|
||||
res = hfs_ext_write_extent(inode);
|
||||
if (res)
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user