From: Naoya Horiguchi Date: Wed, 11 Sep 2013 21:22:49 +0000 (-0700) Subject: hwpoison: always unset MIGRATE_ISOLATE before returning from soft_offline_page() X-Git-Tag: v3.12-rc1~52^2~176 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d6fdbdb2a651f0c9bb979e1d92b1e15dadffc4f;p=pandora-kernel.git hwpoison: always unset MIGRATE_ISOLATE before returning from soft_offline_page() Soft offline code expects that MIGRATE_ISOLATE is set on the target page only during soft offlining work. But currenly it doesn't work as expected when get_any_page() fails and returns negative value. In the result, end users can have unexpectedly isolated pages. This patch just fixes it. Signed-off-by: Naoya Horiguchi Reviewed-by: Wanpeng Li Cc: Andi Kleen Cc: Fengguang Wu Cc: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed