[PATCH 2.6.24] block2mtd: removing a device and typo fixes

Stephane Chazelas stephane.chazelas at emerson.com
Wed Feb 20 11:55:13 EST 2008

2008-02-20 17:42:27 +0100, Jörn Engel:
> 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.


More information about the linux-mtd mailing list