migration: fix saving normal page even if it's been compressed
commit701b1876c0fc0c583e4aff300ace5d33a1b97ed6
authorXiao Guangrong <xiaoguangrong@tencent.com>
Sat, 28 Apr 2018 08:10:45 +0000 (28 16:10 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 15 May 2018 18:24:00 +0000 (15 20:24 +0200)
tree2c92dde5a63882aa00cd3efa346dbe0d197a1a67
parentc416eecea5f3aea863ab8fda5a36a24157b8f704
migration: fix saving normal page even if it's been compressed

Fix the bug introduced by da3f56cb2e767016 (migration: remove
ram_save_compressed_page()), It should be 'return' rather than
'res'

Sorry for this stupid mistake :(

Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20180428081045.8878-1-xiaoguangrong@tencent.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c