+11
−6
+3
−4
+5
−13
Loading
Once there, take a total size instead of the size of the pages. We move the check that the new_size is bigger than one page from xbzrle_cache_resize(). Signed-off-by:Juan Quintela <quintela@redhat.com> Reviewed-by:
Peter Xu <peterx@redhat.com> -- Fix typo spotted by Peter Xu