Commit 6d1bbfc4 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

hfsplus: silence a few debug printks

Turn a few noisy debug printks that show up during xfstests into
complied out debug print statements.
Signed-off-by: default avatarChristoph Hellwig <hch@tuxera.com>
parent 6f80dfe5
...@@ -358,7 +358,7 @@ void hfs_bnode_unlink(struct hfs_bnode *node) ...@@ -358,7 +358,7 @@ void hfs_bnode_unlink(struct hfs_bnode *node)
// move down? // move down?
if (!node->prev && !node->next) { 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) { if (!node->parent) {
tree->root = 0; tree->root = 0;
......
...@@ -375,7 +375,7 @@ static int hfs_brec_update_parent(struct hfs_find_data *fd) ...@@ -375,7 +375,7 @@ static int hfs_brec_update_parent(struct hfs_find_data *fd)
end_off = hfs_bnode_read_u16(parent, end_rec_off); end_off = hfs_bnode_read_u16(parent, end_rec_off);
if (end_rec_off - end_off < diff) { 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; fd->bnode = parent;
new_node = hfs_bnode_split(fd); new_node = hfs_bnode_split(fd);
if (IS_ERR(new_node)) if (IS_ERR(new_node))
......
...@@ -287,7 +287,7 @@ struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree) ...@@ -287,7 +287,7 @@ struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree)
kunmap(*pagep); kunmap(*pagep);
nidx = node->next; nidx = node->next;
if (!nidx) { 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); next_node = hfs_bmap_new_bmap(node, idx);
} else } else
next_node = hfs_bnode_find(tree, nidx); next_node = hfs_bnode_find(tree, nidx);
......
...@@ -451,8 +451,6 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent) ...@@ -451,8 +451,6 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
sync_dirty_buffer(sbi->s_vhbh); sync_dirty_buffer(sbi->s_vhbh);
if (!sbi->hidden_dir) { if (!sbi->hidden_dir) {
printk(KERN_DEBUG "hfs: create hidden dir...\n");
mutex_lock(&sbi->vh_mutex); mutex_lock(&sbi->vh_mutex);
sbi->hidden_dir = hfsplus_new_inode(sb, S_IFDIR); sbi->hidden_dir = hfsplus_new_inode(sb, S_IFDIR);
hfsplus_create_cat(sbi->hidden_dir->i_ino, sb->s_root->d_inode, hfsplus_create_cat(sbi->hidden_dir->i_ino, sb->s_root->d_inode,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment