Message ID | 1478539797-15522-3-git-send-email-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index ebcef4b..9c39b85 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ -180,6 +180,9 @@ static struct page *balloon_next_page(struct page *page) static enum bp_state update_schedule(enum bp_state state) { + if (state == BP_ECANCELED) + return BP_ECANCELED; + if (state == BP_DONE) { balloon_stats.schedule_delay = 1; balloon_stats.retry_count = 1;