Messages in this thread | | | Date | Wed, 9 Oct 2002 15:26:12 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: [bk/patch] driver model update: device_unregister() |
| |
On Wed, 9 Oct 2002, Linus Torvalds wrote:
> > In other words, if you think that it is reasonable to have an assocation > from the MD device to the list of partitions that are part of that MD > device, then you _need_ to have a "partition node", because otherwise you > cannot have the pointer to it. See? > > So your "partition side" vs "filesystem side" thing doesn't matter. It > doesn't matter which side the associations are, you need to have a node to > associate _with_. > > Noth sides need a node. Even if the relationship is only going in one > direction.
*eeek*
Even aside of the problems with putting filesystems (and filesystem types) into driverfs (can_unload() for each fs module?), partitions _ARE_ reused. So logics with ->release() will be a killer.
Do you really want to do that?
- 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/
| |