migration: Introduce migrate_fd_completed() for consistency
authorJuan Quintela <quintela@redhat.com>
Tue, 22 Feb 2011 22:32:54 +0000 (23:32 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Oct 2011 11:23:53 +0000 (13:23 +0200)
commitf143a6f6543fc9699e447d98d5bd63d47187cbc9
tree7b560cabe08e0f78b626b46eba843332742ca623
parent91c6ad22fc151c2c6bf42f81e40e3d2806443daa
migration: Introduce migrate_fd_completed() for consistency

This function is a bit different of the others that change the state,
in the sense that if migrate_fd_cleanup() returns an error, it set the
status to error, not completed.

Signed-off-by: Juan Quintela <quintela@redhat.com>
migration.c