aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/hfsplus/bnode.c2
-rw-r--r--fs/hfsplus/brec.c2
-rw-r--r--fs/hfsplus/btree.c2
-rw-r--r--fs/hfsplus/super.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/fs/hfsplus/bnode.c b/fs/hfsplus/bnode.c
index 29da6574ba7..c8aa1659b83 100644
--- a/fs/hfsplus/bnode.c
+++ b/fs/hfsplus/bnode.c
@@ -358,7 +358,7 @@ void hfs_bnode_unlink(struct hfs_bnode *node)
358 358
359 // move down? 359 // move down?
360 if (!node->prev && !node->next) { 360 if (!node->prev && !node->next) {
361 printk(KERN_DEBUG "hfs_btree_del_level\n"); 361 dprint(DBG_BNODE_MOD, "hfs_btree_del_level\n");
362 } 362 }
363 if (!node->parent) { 363 if (!node->parent) {
364 tree->root = 0; 364 tree->root = 0;
diff --git a/fs/hfsplus/brec.c b/fs/hfsplus/brec.c
index 2f39d05443e..81f7e6e51d5 100644
--- a/fs/hfsplus/brec.c
+++ b/fs/hfsplus/brec.c
@@ -375,7 +375,7 @@ again:
375 end_off = hfs_bnode_read_u16(parent, end_rec_off); 375 end_off = hfs_bnode_read_u16(parent, end_rec_off);
376 if (end_rec_off - end_off < diff) { 376 if (end_rec_off - end_off < diff) {
377 377
378 printk(KERN_DEBUG "hfs: splitting index node...\n"); 378 dprint(DBG_BNODE_MOD, "hfs: splitting index node.\n");
379 fd->bnode = parent; 379 fd->bnode = parent;
380 new_node = hfs_bnode_split(fd); 380 new_node = hfs_bnode_split(fd);
381 if (IS_ERR(new_node)) 381 if (IS_ERR(new_node))
diff --git a/fs/hfsplus/btree.c b/fs/hfsplus/btree.c
index 22e4d4e3299..97556f932d5 100644
--- a/fs/hfsplus/btree.c
+++ b/fs/hfsplus/btree.c
@@ -287,7 +287,7 @@ struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree)
287 kunmap(*pagep); 287 kunmap(*pagep);
288 nidx = node->next; 288 nidx = node->next;
289 if (!nidx) { 289 if (!nidx) {
290 printk(KERN_DEBUG "hfs: create new bmap node...\n"); 290 dprint(DBG_BNODE_MOD, "hfs: create new bmap node.\n");
291 next_node = hfs_bmap_new_bmap(node, idx); 291 next_node = hfs_bmap_new_bmap(node, idx);
292 } else 292 } else
293 next_node = hfs_bnode_find(tree, nidx); 293 next_node = hfs_bnode_find(tree, nidx);
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 1c356a2fba0..9bda9fd3551 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -451,8 +451,6 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
451 sync_dirty_buffer(sbi->s_vhbh); 451 sync_dirty_buffer(sbi->s_vhbh);
452 452
453 if (!sbi->hidden_dir) { 453 if (!sbi->hidden_dir) {
454 printk(KERN_DEBUG "hfs: create hidden dir...\n");
455
456 mutex_lock(&sbi->vh_mutex); 454 mutex_lock(&sbi->vh_mutex);
457 sbi->hidden_dir = hfsplus_new_inode(sb, S_IFDIR); 455 sbi->hidden_dir = hfsplus_new_inode(sb, S_IFDIR);
458 hfsplus_create_cat(sbi->hidden_dir->i_ino, sb->s_root->d_inode, 456 hfsplus_create_cat(sbi->hidden_dir->i_ino, sb->s_root->d_inode,