projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35da7a3
)
hfsplus: fix double lock typo in ioctl
author
Dan Carpenter
<error27@gmail.com>
Mon, 25 Oct 2010 18:39:07 +0000
(20:39 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 25 Oct 2010 18:39:07 +0000
(20:39 +0200)
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>
fs/hfsplus/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/hfsplus/ioctl.c
b/fs/hfsplus/ioctl.c
index
5b4667e
..
40a85a3
100644
(file)
--- 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)
mark_inode_dirty(inode);
out_unlock_inode:
- mutex_lock(&inode->i_mutex);
+ mutex_
un
lock(&inode->i_mutex);
out_drop_write:
mnt_drop_write(file->f_path.mnt);
out: