Skip to content
Commit 89b4e133 authored by Pierre Ossman's avatar Pierre Ossman
Browse files

mmc: Flush block queue when removing card



After mmc_block's remove function has exited, we must not
touch the card structure in any way. This means we not only
must remove the gendisk, we must also flush out any
remaning requests already queued up.

We previously removed the disk, but didn't flush it,
causing oops:es when removing a card in the middle of a
transfer.

Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 077df884
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment