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
@@ -158,7 +158,7 @@ u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits)
|
||||
}
|
||||
}
|
||||
|
||||
dprint(DBG_BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits);
|
||||
hfs_dbg(BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits);
|
||||
HFS_SB(sb)->free_ablocks -= *num_bits;
|
||||
hfs_bitmap_dirty(sb);
|
||||
out:
|
||||
@@ -200,7 +200,7 @@ int hfs_clear_vbm_bits(struct super_block *sb, u16 start, u16 count)
|
||||
if (!count)
|
||||
return 0;
|
||||
|
||||
dprint(DBG_BITMAP, "clear_bits: %u,%u\n", start, count);
|
||||
hfs_dbg(BITMAP, "clear_bits: %u,%u\n", start, count);
|
||||
/* are all of the bits in range? */
|
||||
if ((start + count) > HFS_SB(sb)->fs_ablocks)
|
||||
return -2;
|
||||
|
Reference in New Issue
Block a user