projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac638b
)
Staging: pohmelfs/dir.c: Remove unneeded mutex_unlock() from pohmelfs_rename()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Wed, 19 Jan 2011 21:13:44 +0000
(
00:13
+0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 21 Jan 2011 20:38:46 +0000
(12:38 -0800)
I do not see any reason for the mutex_unlock(&inode->i_mutex); in
pohmelfs_rename().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/dir.c
patch
|
blob
|
history
diff --git
a/drivers/staging/pohmelfs/dir.c
b/drivers/staging/pohmelfs/dir.c
index
059e9d2
..
9732a96
100644
(file)
--- a/
drivers/staging/pohmelfs/dir.c
+++ b/
drivers/staging/pohmelfs/dir.c
@@
-1082,7
+1082,6
@@
err_out_exit:
clear_bit(NETFS_INODE_REMOTE_SYNCED, &pi->state);
- mutex_unlock(&inode->i_mutex);
return err;
}