2008-02-20 17:42:27 +0100, Jörn Engel:
quoted text > On Wed, 20 February 2008 14:36:46 +0000, Stephane Chazelas wrote:
> >
> > At the moment, when we bind a mtd device to a block device, we
> > don't increase the refcount. When a mtdblock on a block2mtd, the
> > refcount is not increased either (the mtdblock's one is I
> > guess).
>
> That is a bug then.
[...]
Well, given that there is no API to unbind a mtd to a block
device, otherwise, we would never be able to unload block2mtd.
So fare, unloading block2mtd was the only way to unbind a mtd
from a block device.
Cheers,
Stephane
--
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes , Stephane Chazelas , (Wed Feb 20, 9:55 am)