projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f362f98
)
CIFS: Remove extra mutex_unlock in cifs_lock_add_if
author
Pavel Shilovsky
<piastry@etersoft.ru>
Wed, 26 Oct 2011 19:41:04 +0000
(23:41 +0400)
committer
Steve French
<smfrench@gmail.com>
Fri, 28 Oct 2011 19:09:23 +0000
(14:09 -0500)
to prevent the mutex being unlocked twice if we interrupt a blocked lock.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c
patch
|
blob
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index
ea096ce
..
91e05f2
100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-778,7
+778,6
@@
try_again:
else {
mutex_lock(&cinode->lock_mutex);
list_del_init(&lock->blist);
- mutex_unlock(&cinode->lock_mutex);
}
}