Skip to content

Commit

Permalink
hfsplus: fix double lock typo in ioctl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
error27 authored and Christoph Hellwig committed Oct 25, 2010
1 parent 35da7a3 commit e50fb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/hfsplus/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e50fb58

Please sign in to comment.