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
@@ -145,7 +145,7 @@ static int hfsplus_write_inode(struct inode *inode,
|
||||
{
|
||||
int err;
|
||||
|
||||
dprint(DBG_INODE, "hfsplus_write_inode: %lu\n", inode->i_ino);
|
||||
hfs_dbg(INODE, "hfsplus_write_inode: %lu\n", inode->i_ino);
|
||||
|
||||
err = hfsplus_ext_write_extent(inode);
|
||||
if (err)
|
||||
@@ -160,7 +160,7 @@ static int hfsplus_write_inode(struct inode *inode,
|
||||
|
||||
static void hfsplus_evict_inode(struct inode *inode)
|
||||
{
|
||||
dprint(DBG_INODE, "hfsplus_evict_inode: %lu\n", inode->i_ino);
|
||||
hfs_dbg(INODE, "hfsplus_evict_inode: %lu\n", inode->i_ino);
|
||||
truncate_inode_pages(&inode->i_data, 0);
|
||||
clear_inode(inode);
|
||||
if (HFSPLUS_IS_RSRC(inode)) {
|
||||
@@ -179,7 +179,7 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait)
|
||||
if (!wait)
|
||||
return 0;
|
||||
|
||||
dprint(DBG_SUPER, "hfsplus_sync_fs\n");
|
||||
hfs_dbg(SUPER, "hfsplus_sync_fs\n");
|
||||
|
||||
/*
|
||||
* Explicitly write out the special metadata inodes.
|
||||
@@ -275,7 +275,7 @@ static void hfsplus_put_super(struct super_block *sb)
|
||||
{
|
||||
struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb);
|
||||
|
||||
dprint(DBG_SUPER, "hfsplus_put_super\n");
|
||||
hfs_dbg(SUPER, "hfsplus_put_super\n");
|
||||
|
||||
cancel_delayed_work_sync(&sbi->sync_work);
|
||||
|
||||
|
Reference in New Issue
Block a user