lkml.org 
[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.105 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site