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

Linus Torvalds (torvalds@transmeta.com)
Wed, 9 Oct 2002 10:14:24 -0700 (PDT)


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/