public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [merged] mmc_block-fix-probe-error-cleanup-bug.patch removed from -mm tree
@ 2010-01-11 20:18 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-01-11 20:18 UTC (permalink / raw)
  To: jarkko.lavinen, adrian.hunter, linux-mmc, stable, mm-commits


The patch titled
     mmc_block: fix probe error cleanup bug
has been removed from the -mm tree.  Its filename was
     mmc_block-fix-probe-error-cleanup-bug.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mmc_block: fix probe error cleanup bug
From: Jarkko Lavinen <jarkko.lavinen@nokia.com>

If mmc_blk_set_blksize() fails mmc_blk_probe() the request queue and its
thread have been set up and they need to be shut down properly before
putting the disk.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Cc: <linux-mmc@vger.kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/mmc/card/block.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/mmc/card/block.c~mmc_block-fix-probe-error-cleanup-bug drivers/mmc/card/block.c
--- a/drivers/mmc/card/block.c~mmc_block-fix-probe-error-cleanup-bug
+++ a/drivers/mmc/card/block.c
@@ -618,6 +618,7 @@ static int mmc_blk_probe(struct mmc_card
 	return 0;
 
  out:
+	mmc_cleanup_queue(&md->queue);
 	mmc_blk_put(md);
 
 	return err;
_

Patches currently in -mm which might be from jarkko.lavinen@nokia.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-11 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 20:18 [merged] mmc_block-fix-probe-error-cleanup-bug.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox