Skip to content
Commit 1dff3144 authored by David Woodhouse's avatar David Woodhouse Committed by Pierre Ossman
Browse files

mmc: Avoid re-using minor numbers before the original device is closed.



Move the code which marks the minor number as free to mmc_blk_put() so
that it happens on the final close() (or removal), instead of doing it
at removal even when the device is still logically open.

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