kernel-fxtec-pro1x/drivers/mmc/card
Andrew Morton 70bb08962e drivers/mmc/card/block.c: fix refcount leak in mmc_block_open()
mmc_block_open() increments md->usage although it returns with -EROFS when
default mounting a MMC/SD card with write protect switch on.  This
reference counting bug prevents /dev/mmcblkX from being released on card
removal, and situation worsen with reinsertion until the minor number
range runs out.

Reported-by: <sasin@solomon-systech.com>
Acked-by: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: <stable@kernel.org>		[2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-09-05 14:39:38 -07:00
..
block.c drivers/mmc/card/block.c: fix refcount leak in mmc_block_open() 2008-09-05 14:39:38 -07:00
Kconfig mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
Makefile mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
mmc_test.c mmc_test: Revert "mmc_test: test oversized sg lists" 2008-08-01 19:03:37 +02:00
queue.c mmc_block: bounce buffer highmem support 2008-07-23 14:42:09 +02:00
queue.h mmc: bounce requests for simple hosts 2007-07-09 21:22:53 +02:00
sdio_uart.c sdio_uart: Fix SDIO break control to now return success or an error 2008-07-15 15:47:04 +02:00