From: Andrey Borzenkov Date: Sat, 14 Feb 2009 01:05:14 +0000 (+0100) Subject: PM: Fix pm_notifiers during user mode hibernation X-Git-Tag: v2.6.29-rc6~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebae2604f2c3693717d9dc687c84578f0526480c;p=pandora-kernel.git PM: Fix pm_notifiers during user mode hibernation Snapshot device is opened with O_RDONLY during suspend and O_WRONLY durig resume. Make sure we also call notifiers with correct parameter telling them what we are really doing. Signed-off-by: Andrey Borzenkov Signed-off-by: Rafael J. Wysocki Cc: Len Brown Cc: Greg KH Acked-by: Pavel Machek Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed