]> git.proxmox.com Git - mirror_qemu.git/commit - page_cache.c
xbzrle: rebuild the cache_is_cached function
authorChenLiang <chenliang88@huawei.com>
Mon, 24 Nov 2014 11:55:48 +0000 (19:55 +0800)
committerAmit Shah <amit.shah@redhat.com>
Thu, 15 Jan 2015 12:19:43 +0000 (17:49 +0530)
commit1b826f277814dd9496fe3cc71cbe6ab7b203cadf
tree1af121a84c8ee16d2afaa18d840b69538f2a38ab
parent27af7d6ea5015e5ef1f7985eab94a8a218267a2b
xbzrle: rebuild the cache_is_cached function

Rebuild the cache_is_cached function by cache_get_by_addr. And
drops the asserts because the caller is also asserting the same
thing.

Signed-off-by: ChenLiang <chenliang88@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
page_cache.c