]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock: pass desc to lock operation; leave on unlock
authorSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 23:46:48 +0000 (16:46 -0700)
committerSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 23:47:02 +0000 (16:47 -0700)
commit0b72c8dbd28a72455e91ac9d8a75b6787957549e
tree20a6d752de630ccfc63617409b4053f17acf7130
parent56820b3bad1abbcbc772c375014db535404fbd41
lock: pass desc to lock operation; leave on unlock

Pass the desc to the lock operation.

The unlock operation now clears desc for us; no need to do it outselves.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/lock.py