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 | [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/