locking: Decrement pending statistics when lock is scheduled
authorAmitay Isaacs <amitay@gmail.com>
Tue, 15 Jul 2014 04:38:52 +0000 (14:38 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 5 Aug 2014 00:53:32 +0000 (10:53 +1000)
commit008df1bc8fcc9170f00f0baf6e336654b1192538
tree65183e54575ebd970ea11e420f6dc516c188ab7c
parent4fb620bbf493d91e296d99ff347efe8f30ddb8c5
locking: Decrement pending statistics when lock is scheduled

and not when the lock is obtained.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
(Imported from commit aa1ff305f9bdd97675ceb4ce2b18f4cd623b8a38)
server/ctdb_lock.c