From: Barry Song Date: Mon, 9 Jan 2012 04:56:23 +0000 (+0800) Subject: PM / Hibernate: Drop the check of swap space size for compressed image X-Git-Tag: v3.3-rc1~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee34a37049114303011e154478c63b977bcff24c;p=pandora-kernel.git PM / Hibernate: Drop the check of swap space size for compressed image For compressed image, the space required is not known until we finish compressing and writing all pages. This patch drops the check, and if swap space is not enough finally, system can still restore to normal after writing swap fails for compressed images. Signed-off-by: Barry Song Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed