[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090109200024.GA14754@ngeserver2.localdomain>
Date: Fri, 9 Jan 2009 21:00:24 +0100
From: Enrik Berkhan <Enrik.Berkhan@...com>
To: David Vrabel <david.vrabel@....com>
Cc: Pierre Ossman <drzeus-mmc@...eus.cx>, linux-kernel@...r.kernel.org
Subject: Re: Reference counting of MMC host driver modules
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@...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