Commit e50fb58b authored by Dan Carpenter's avatar Dan Carpenter Committed by Christoph Hellwig

hfsplus: fix double lock typo in ioctl

This was supposed to be a mutex_unlock() instead of a mutex_lock().
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@tuxera.com>
parent 35da7a30
...@@ -92,7 +92,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) ...@@ -92,7 +92,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
mark_inode_dirty(inode); mark_inode_dirty(inode);
out_unlock_inode: out_unlock_inode:
mutex_lock(&inode->i_mutex); mutex_unlock(&inode->i_mutex);
out_drop_write: out_drop_write:
mnt_drop_write(file->f_path.mnt); mnt_drop_write(file->f_path.mnt);
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment