diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-07 16:33:08 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 17:36:11 +0200 |
commit | 4a9410355406c31695eab9daeba694d7d9714e9b (patch) | |
tree | 2b76a457a97c00825fec88d7d2047fb86a2e653d /fs/hfs/btree.h | |
parent | arm: Bcmring: semaphore cleanup (diff) | |
download | linux-4a9410355406c31695eab9daeba694d7d9714e9b.tar.xz linux-4a9410355406c31695eab9daeba694d7d9714e9b.zip |
hfs: Convert tree_lock to mutex
tree_lock is used as mutex so make it a mutex.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
LKML-Reference: <20100907125056.416332114@linutronix.de>
Diffstat (limited to 'fs/hfs/btree.h')
-rw-r--r-- | fs/hfs/btree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/btree.h b/fs/hfs/btree.h index cc51905ac21d..2a1d712f85dc 100644 --- a/fs/hfs/btree.h +++ b/fs/hfs/btree.h @@ -33,7 +33,7 @@ struct hfs_btree { unsigned int depth; //unsigned int map1_size, map_size; - struct semaphore tree_lock; + struct mutex tree_lock; unsigned int pages_per_bnode; spinlock_t hash_lock; |