hfsplus: silence a few debug printks
authorChristoph Hellwig <hch@tuxera.com>
Tue, 23 Nov 2010 13:37:40 +0000 (14:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2010 13:37:40 +0000 (14:37 +0100)
Turn a few noisy debug printks that show up during xfstests into
complied out debug print statements.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/bnode.c
fs/hfsplus/brec.c
fs/hfsplus/btree.c
fs/hfsplus/super.c

index 29da6574ba77941b22c15b4e959cd4c84b8bbee1..c8aa1659b8385b2cde81c22cc27cbce7a82f4650 100644 (file)
@@ -358,7 +358,7 @@ void hfs_bnode_unlink(struct hfs_bnode *node)
 
        // move down?
        if (!node->prev && !node->next) {
-               printk(KERN_DEBUG "hfs_btree_del_level\n");
+               dprint(DBG_BNODE_MOD, "hfs_btree_del_level\n");
        }
        if (!node->parent) {
                tree->root = 0;
index 2f39d05443e1a374b197359f70d20337562aa9e8..81f7e6e51d5aef9273711fccaa256a72b6dccfda 100644 (file)
@@ -375,7 +375,7 @@ again:
                end_off = hfs_bnode_read_u16(parent, end_rec_off);
                if (end_rec_off - end_off < diff) {
 
-                       printk(KERN_DEBUG "hfs: splitting index node...\n");
+                       dprint(DBG_BNODE_MOD, "hfs: splitting index node.\n");
                        fd->bnode = parent;
                        new_node = hfs_bnode_split(fd);
                        if (IS_ERR(new_node))
index 22e4d4e329999c3ba9848036a3639bc194598f74..97556f932d57f0a0ec5b0687fa81da04693c43c8 100644 (file)
@@ -287,7 +287,7 @@ struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree)
                kunmap(*pagep);
                nidx = node->next;
                if (!nidx) {
-                       printk(KERN_DEBUG "hfs: create new bmap node...\n");
+                       dprint(DBG_BNODE_MOD, "hfs: create new bmap node.\n");
                        next_node = hfs_bmap_new_bmap(node, idx);
                } else
                        next_node = hfs_bnode_find(tree, nidx);
index 1c356a2fba01a19477ce68d71acd430c55bb342c..9bda9fd355111dedbc17c1fa704b49b0d2a19c62 100644 (file)
@@ -451,8 +451,6 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
        sync_dirty_buffer(sbi->s_vhbh);
 
        if (!sbi->hidden_dir) {
-               printk(KERN_DEBUG "hfs: create hidden dir...\n");
-
                mutex_lock(&sbi->vh_mutex);
                sbi->hidden_dir = hfsplus_new_inode(sb, S_IFDIR);
                hfsplus_create_cat(sbi->hidden_dir->i_ino, sb->s_root->d_inode,