From: David Woodhouse Date: Wed, 21 Nov 2007 17:45:12 +0000 (+0100) Subject: mmc: Avoid re-using minor numbers before the original device is closed. X-Git-Tag: v2.6.24-rc4~99^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dff314451fa24d6b107aa05393d3169e56a7e0a;p=pandora-kernel.git 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: David Woodhouse Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed