hfsplus: fix double lock typo in ioctl
Subsystems (2)
PATCH 1/1 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 <[email protected]>
fs/hfsplus/ioctl.c +1 -1
@@ -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:
Quoted 3 lines · Dan Carpenter
This was supposed to be a
mutex_unlock()instead of amutex_lock().Signed-off-by Dan Carpenter <[email protected]>
Acked-by Arnd Bergmann <[email protected]>
Christoph Hellwig
AppliedQuoted 3 lines · Dan Carpenter
This was supposed to be a
mutex_unlock()instead of amutex_lock().Signed-off-by Dan Carpenter <[email protected]>
Thanks,
applied.