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>
This commit is contained in:
Dan Carpenter 2010-10-25 20:39:07 +02:00 committed by Christoph Hellwig
parent 35da7a307c
commit e50fb58b5b

View File

@ -92,7 +92,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
mark_inode_dirty(inode);
out_unlock_inode:
mutex_lock(&inode->i_mutex);
mutex_unlock(&inode->i_mutex);
out_drop_write:
mnt_drop_write(file->f_path.mnt);
out: