AFS: Fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Tue, 30 Jun 2009 20:10:13 +0000 (21:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Jun 2009 20:30:44 +0000 (13:30 -0700)
commitf7c2df9b55212d5ec94169a4de11e44c683e0af4
tree82021e6e36269780bb8fea3a0603b2841cc5b462
parent5a4f13fad1ab5bd08dea78fc55321e429d83cddf
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>
fs/afs/flock.c