mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
Minor number should be freed after del_gendisk(). Otherwise, there could be a window where 2 registered gendisk has same minor number. Signed-off-by: Jun'ichi Nomura <[email protected]> Acked-by: Alasdair G Kergon <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>