ccs_lock_status_grant_lock granting wrong lock
authorAlexandra Ellwood <lxs@mit.edu>
Wed, 10 Oct 2007 21:22:14 +0000 (21:22 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Wed, 10 Oct 2007 21:22:14 +0000 (21:22 +0000)
commitc0b3626ce1cbcc482f3379d64923552b1eed89e1
tree7ae00bc86ea5e631ada8db1120702cadcd5a6a56
parenta2367c956c6c9d56c309930f5a70c8017f67727c
ccs_lock_status_grant_lock granting wrong lock

ccs_lock_status_grant_lock sometimes tries to grant the wrong lock
because it is not keeping track of where it got moved to.  Reorganized
code so it is easier to read and doesn't look up the lock twice.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20116 dc483132-0cff-0310-8789-dd5450dbe970
src/ccapi/server/ccs_lock_state.c