summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>2011-05-08 20:43:06 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-09 18:04:23 +0200
commit7d23ce36e3f52f9b83ac8da49296b73339c8b5b8 (patch)
tree0c3973efa632e3c58d056c5d949a38b4c475193f /fs/hpfs/super.c
parentHPFS: Introduce a global mutex and lock it on every callback from VFS. (diff)
downloadlinux-7d23ce36e3f52f9b83ac8da49296b73339c8b5b8.tar.xz
linux-7d23ce36e3f52f9b83ac8da49296b73339c8b5b8.zip
HPFS: Remove remaining locks
Remove remaining locks Because of a new global per-fs lock, no other locks are needed Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r--fs/hpfs/super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index 41232c2d60dc..6493377cbef5 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -191,8 +191,6 @@ static void init_once(void *foo)
{
struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo;
- mutex_init(&ei->i_mutex);
- mutex_init(&ei->i_parent_mutex);
inode_init_once(&ei->vfs_inode);
}
@@ -496,8 +494,6 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
mutex_init(&sbi->hpfs_mutex);
hpfs_lock(s);
- mutex_init(&sbi->hpfs_creation_de);
-
uid = current_uid();
gid = current_gid();
umask = current_umask();