diff options
author | Andrey Borzenkov <arvidjaar@mail.ru> | 2009-02-14 02:05:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-21 23:17:17 +0100 |
commit | ebae2604f2c3693717d9dc687c84578f0526480c (patch) | |
tree | b385e3b401ab8bc2f278aa36a03a639bf1ea61cd /kernel/mutex.c | |
parent | swsusp: clean up shrink_all_zones() (diff) | |
download | linux-ebae2604f2c3693717d9dc687c84578f0526480c.tar.xz linux-ebae2604f2c3693717d9dc687c84578f0526480c.zip |
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 <arvidjaar@mail.ru>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <gregkh@suse.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions