freezer: remove PF_NOFREEZE from handle_initrd
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 May 2007 21:50:46 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:59 +0000 (12:12 -0700)
commit726162b5dad154a90dad51c0185b891312de5757
treeb2313cdd19951206229889569781549777c0bfb0
parent0709db6072c2e799eba1aa61bd19e0d7f38aa2cd
freezer: remove PF_NOFREEZE from handle_initrd

Make handle_initrd() call try_to_freeze() in a suitable place instead of setting
PF_NOFREEZE for the current task.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Nigel Cunningham <nigel@nigel.suspend2.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts_initrd.c