Re: [PATCH] Resume from initramfs

From: Matthew Garrett
Date: Mon Jan 31 2005 - 09:21:58 EST


On Mon, 2005-01-31 at 15:09 +0100, Hannes Reinecke wrote:

> swsusp_check is used by both entry points, and is itself not a init
> function.
> I simply found it bad style to reference a __init function from there.
> And name_to_dev_t is evil in itself. I'd gladly be rid of it if possible.

name_to_dev_t won't work once userspace has started - you need to
set_fs(KERNEL_DS) at least one of the calls in it, IIRC.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/