[PATCH] pm: Fix resume from initrd
authorPavel Machek <pavel@ucw.cz>
Fri, 8 Jul 2005 00:56:43 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:43 +0000 (18:23 -0700)
commit3efa147ad7608196639882ba4075b376f306fe16
treeedc1176c8af4ce97c3586382ebb7de68936f1bec
parente00d9967e3addea86dded46deefc5daec5d52e5a
[PATCH] pm: Fix resume from initrd

Move device name resolution code around so that it is not called from
resume-from-initrd.  name_to_dev_t may be unavailable at that point.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/disk.c
kernel/power/swsusp.c