diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-06-30 21:10:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-30 13:30:44 -0700 |
commit | f7c2df9b55212d5ec94169a4de11e44c683e0af4 (patch) | |
tree | 82021e6e36269780bb8fea3a0603b2841cc5b462 /fs/afs | |
parent | 5a4f13fad1ab5bd08dea78fc55321e429d83cddf (diff) | |
download | kernel_samsung_aries-f7c2df9b55212d5ec94169a4de11e44c683e0af4.zip kernel_samsung_aries-f7c2df9b55212d5ec94169a4de11e44c683e0af4.tar.gz kernel_samsung_aries-f7c2df9b55212d5ec94169a4de11e44c683e0af4.tar.bz2 |
AFS: Fix lock imbalance
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>
Diffstat (limited to 'fs/afs')
-rw-r--r-- | fs/afs/flock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/flock.c b/fs/afs/flock.c index 210acaf..3ff8bdd 100644 --- 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; } |