[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <chaz20080220165513.GU4539@artesyncp.com>
Date: Wed, 20 Feb 2008 16:55:13 +0000
From: Stephane Chazelas <stephane.chazelas@...rson.com>
To: Jörn Engel <joern@...fs.org>
Cc: linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes
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.
Cheers,
Stephane
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists