diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-25 14:39:07 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-10-25 14:39:07 -0400 |
commit | e50fb58b5b3548e578d3b74ff15aeb7d9a496839 (patch) | |
tree | d5d94211f7d988420c854cf7d5193d57ecf277dd /fs/hfsplus/ioctl.c | |
parent | 35da7a307c535f9c2929cae277f3df425c9f9b1e (diff) |
hfsplus: fix double lock typo in ioctl
This was supposed to be a mutex_unlock() instead of a mutex_lock().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/ioctl.c')
-rw-r--r-- | fs/hfsplus/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/ioctl.c b/fs/hfsplus/ioctl.c index 5b4667e08ef7..40a85a3ded6e 100644 --- a/fs/hfsplus/ioctl.c +++ b/fs/hfsplus/ioctl.c | |||
@@ -92,7 +92,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) | |||
92 | mark_inode_dirty(inode); | 92 | mark_inode_dirty(inode); |
93 | 93 | ||
94 | out_unlock_inode: | 94 | out_unlock_inode: |
95 | mutex_lock(&inode->i_mutex); | 95 | mutex_unlock(&inode->i_mutex); |
96 | out_drop_write: | 96 | out_drop_write: |
97 | mnt_drop_write(file->f_path.mnt); | 97 | mnt_drop_write(file->f_path.mnt); |
98 | out: | 98 | out: |