Re: [bk/patch] driver model update: device_unregister()

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Oct 09 2002 - 12:14:24 EST


On Wed, 9 Oct 2002, Patrick Mochel wrote:
>
> No problem; I'll do that today. But, I also think some of the stuff in
> fs/partitions/check.c is bogus and should die. Partitions are not devices,
> and shouldn't be treated as such.

I think that is a valid argument as long as it's called "driverfs" or
something, but since the thing is clearly evolving into a "kernelfs" and
has drivers and devices as only a part of its structure knowledge, and is
used to expose various kernel hierarchies and relationships, I actually
think that it makes sense to expose the relationship of partitions to
devices.

(Not that it has to use "struct device" to do so, of course, although I
don't see any major reason why it couldn't..)

What's the oops due to?

                Linus

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:31 EST