hfsplus: convert tree_lock to mutex

tree_lock is used as mutex so make it a mutex.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
This commit is contained in:
Thomas Gleixner
2010-10-01 05:46:52 +02:00
committed by Christoph Hellwig
parent 7fcc99f4f2
commit 467c3d9cd5
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id)
if (!tree)
return NULL;
init_MUTEX(&tree->tree_lock);
mutex_init(&tree->tree_lock);
spin_lock_init(&tree->hash_lock);
tree->sb = sb;
tree->cnid = id;