From: Takashi Iwai Date: Thu, 9 Dec 2010 23:16:39 +0000 (+0100) Subject: PM / Hibernate: Fix PM_POST_* notification with user-space suspend X-Git-Tag: v2.6.37-rc7~21^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1497dd1d29c6a53fcd3c80f7ac8d0e0239e7389e;p=pandora-kernel.git PM / Hibernate: Fix PM_POST_* notification with user-space suspend The user-space hibernation sends a wrong notification after the image restoration because of thinko for the file flag check. RDONLY corresponds to hibernation and WRONLY to restoration, confusingly. Signed-off-by: Takashi Iwai Signed-off-by: Rafael J. Wysocki Cc: stable@kernel.org --- Reading git-diff-tree failed