Fix lock release in TLMigrateInstance
authorApollon Oikonomopoulos <apollon@noc.grnet.gr>
Tue, 10 May 2011 11:10:13 +0000 (14:10 +0300)
committerMichael Hanselmann <hansmi@google.com>
Tue, 10 May 2011 11:12:01 +0000 (13:12 +0200)
commit5ed4c956f7a94ac9371ca217c76562cfb366184a
tree6aad9d1d9f370d6a176d5747d0eb91937c964fb0
parent2d91e6ae3de828b07d2ff857612423c9ffe3cafb
Fix lock release in TLMigrateInstance

Commit 52f33103 introduced lock release factorization, replacing manual
lock release using utility functions. However, it broke
TLMigrateInstance due to a typo (passing the Tasklet to ReleaseLocks
instead of the parent LU). We fix this by passing the LU to
ReleaseLocks.

Thanks to Dan Eriksson for reporting this.

Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cmdlib.py