OSDN Git Service

migration: Our release callback was just free
authorJuan Quintela <quintela@redhat.com>
Tue, 11 May 2010 21:18:34 +0000 (23:18 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Oct 2011 11:23:53 +0000 (13:23 +0200)
commit92920cd782d3b36bea64d79f162567c873882c4e
tree7cab2c6c7191135cd74ecbec9ab92dddeda0b6d4
parent458cf28e6b01ff9b87a20d199d42b1c1c904cd29
migration: Our release callback was just free

We called it from a single place, and always with state !=
MIG_STATE_ACTIVE.  Just remove the whole callback.  For users of the
notifier, notice that this is exactly the case where they don't care,
we are just freeing the state from previous failed migration (it can't
be a sucessful one, otherwise we would not be running on that machine
in the first place).

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
migration.c
migration.h