diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-10 18:58:40 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-12-20 22:44:29 +0100 |
commit | 24ea1e4b4b79cef2bac6f8e0f0a212f42ef420a9 (patch) | |
tree | 747f6fdd935c34af20852c708ce25463e849990f /migration.c | |
parent | bde54c08b4854aceee3dee25121a2b835cb81166 (diff) |
migration: remove double call to migrate_fd_close
The call in buffered_close is enough, because buffered_close is called
already by migrate_fd_cleanup.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r-- | migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c index 810f25e7eb..e560930977 100644 --- a/migration.c +++ b/migration.c @@ -272,7 +272,7 @@ static int migrate_fd_cleanup(MigrationState *s) s->file = NULL; } - migrate_fd_close(s); + assert(s->fd == -1); return ret; } |