ciao-scheduler: yet more lock fixing (#143)
ciao-scheduler: yet more lock fixing (#143)

I apparently mismerged/misrebased a change.  The earlier code was supposed
to be leaving nodeStat's locked once picked for dispatching.  I left some
Unlock() calls in the code.  So the later code that's supposed to unlock
the locked node was unlocking an unlocked node, which nicely results in a
very obvious panic from golang.

Signed-off-by: Tim Pepper <8dbd764830e941d092a1cb7fa16423169acc0b04@intel.com>
jorgevgut/ciao,tpepper/ciao,ciao-project/ciao,ciao-project/ciao,leoswaldo/ciao,mrkz/ciao,tpepper/ciao,erick0z/ciao,obedmr/ciao,markdryan/ciao,matthewrsj/ciao,matthewrsj/ciao,rbradford/ciao,obedmr/ciao,mcastelino/ciao,kaccardi/ciao,obedmr/ciao,erick0z/ciao,kaccardi/ciao,chavafg/ciao,mrkz/ciao,wcwxyz/ciao,matthewrsj/ciao,mrkz/ciao,wcwxyz/ciao,jorgevgut/ciao,erick0z/ciao,markdryan/ciao,mcastelino/ciao,leoswaldo/ciao,mcastelino/ciao,rbradford/ciao,01org/ciao,jorgevgut/ciao,tpepper/ciao,01org/ciao,leoswaldo/ciao,wcwxyz/ciao,chavafg/ciao