Title: [5250] trunk/drivers/mmc/spi_mmc/spi_mmc_core.c: Fix bug [#4366] - use blk_cleanup_queue to replace blk_put_queue
- Revision
- 5250
- Author
- cooloney
- Date
- 2008-09-07 23:12:33 -0500 (Sun, 07 Sep 2008)
Log Message
Fix bug [#4366] - use blk_cleanup_queue to replace blk_put_queue
blk_put_queue is not exported now and blk_put_queue is included in
blk_cleanup_queue as well as other block queue cleanup operations.
Modified Paths
Diff
Modified: trunk/drivers/mmc/spi_mmc/spi_mmc_core.c (5249 => 5250)
--- trunk/drivers/mmc/spi_mmc/spi_mmc_core.c 2008-09-05 15:31:33 UTC (rev 5249)
+++ trunk/drivers/mmc/spi_mmc/spi_mmc_core.c 2008-09-08 04:12:33 UTC (rev 5250)
@@ -1057,10 +1057,9 @@
put_disk(pdev->gd);
}
- if (pdev->gd->queue) {
- blk_put_queue(pdev->gd->queue);
- // if other kind of request are used, consider how to clean
- }
+ /* if other kind of request are used, consider how to clean */
+ if (pdev->gd->queue)
+ blk_cleanup_queue(pdev->gd->queue);
destroy_workqueue(pdev->dt_wq);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits