commit | 9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7 | [log] [tgz] |
---|---|---|
author | Liang Li <liang.z.li@intel.com> | Mon Jul 13 17:34:10 2015 +0800 |
committer | Juan Quintela <quintela@redhat.com> | Wed Jul 15 12:21:28 2015 +0200 |
tree | 83f006700918d86365571f29873403fa3f9c04a0 | |
parent | 48212d87d6655b029231d830a77983c21552fe49 [diff] |
migration: reduce the count of strlen call 'strlen' is called three times in 'save_page_header', it's inefficient. Signed-off-by: Liang Li <liang.z.li@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>