projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4f13f
)
AFS: Fix lock imbalance
author
Jiri Slaby
<jirislaby@gmail.com>
Tue, 30 Jun 2009 20:10:13 +0000
(21:10 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 30 Jun 2009 20:30:44 +0000
(13:30 -0700)
Don't unlock on vfs_rejected_lock path in afs_do_setlk, since the lock
is unlocked after abort_attempt label.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/flock.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/afs/flock.c
b/fs/afs/flock.c
index 210acafe4a9b5d1ec4e5d919e474497c22073ba2..3ff8bdd18fb3b90de6829780d65b3d4bc3cbeb51 100644
(file)
--- a/
fs/afs/flock.c
+++ b/
fs/afs/flock.c
@@
-432,7
+432,6
@@
vfs_rejected_lock:
list_del_init(&fl->fl_u.afs.link);
if (list_empty(&vnode->granted_locks))
afs_defer_unlock(vnode, key);
- spin_unlock(&vnode->lock);
goto abort_attempt;
}