summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-07 14:32:56 +0000
committerThomas Gleixner <tglx@linutronix.de>2010-10-30 10:12:03 +0200
commit117bf5fbdbdc7a5394e5718b3354238961c83067 (patch)
tree06a063f3a3b92bd1896a87ff14bdb0f8900dbf6f /fs/hpfs/super.c
parent18cb657ca1bafe635f368346a1676fb04c512edf (diff)
downloadlinux-117bf5fbdbdc7a5394e5718b3354238961c83067.tar.bz2
hpfs: Convert sbi->hpfs_creation_de to mutex
sbi->hpfs_creation_de is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Christoph Hellwig <hch@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org LKML-Reference: <20100907125056.228874895@linutronix.de>
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r--fs/hpfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index c969a1aa163a..18e1d4566ecf 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -491,7 +491,7 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
sbi->sb_bmp_dir = NULL;
sbi->sb_cp_table = NULL;
- init_MUTEX(&sbi->hpfs_creation_de);
+ mutex_init(&sbi->hpfs_creation_de);
uid = current_uid();
gid = current_gid();