projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde54c0
)
migration: remove double call to migrate_fd_close
author
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 10 Nov 2012 17:58:40 +0000
(18:58 +0100)
committer
Juan Quintela
<quintela@redhat.com>
Thu, 20 Dec 2012 21:44:29 +0000
(22:44 +0100)
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>
migration.c
patch
|
blob
|
history
diff --git
a/migration.c
b/migration.c
index 810f25e7ebeff03fbc44e40749ae7c006b5df820..e56093097716eceaec66927672e9026053729387 100644
(file)
--- 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;
}