freezer: remove PF_NOFREEZE from handle_initrd
authorRafael J. Wysocki <[email protected]>
Sun, 6 May 2007 21:50:46 +0000 (14:50 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Nigel Cunningham <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
init/do_mounts_initrd.c