Re: Reference counting of MMC host driver modules
From: Enrik Berkhan
Date: Fri Jan 09 2009 - 15:02:26 EST
On Fri, Jan 09, 2009 at 06:20:32PM +0000, David Vrabel wrote:
> Enrik Berkhan wrote:
> > I've noticed recently that the MMC/SD block driver does not reference
> > count the MMC/SD host driver module that it uses via the MMC/SD core
> > layer. Thus, I can rmmod my host driver module while, for example, a
> > partition on a SD card is mounted.
>
> This is same as removing the card while it's in use.
I don't think so.
Being able to remove the card while it is in use is a bug of the
mechanical interface. Can't be fixed easily.
Being able to remove the module while it is in use is a bug of the
software. Can be fixed.
Enrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/