commit | 63d94e482df769f31e8b1097f06c3a3fba7bced4 | [log] [tgz] |
---|---|---|
author | Jun'ichi Nomura <j-nomura@ce.jp.nec.com> | Fri Feb 24 13:04:25 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Feb 24 14:31:39 2006 -0800 |
tree | 0461197daa1d7df50087b4dfa2b692dfcd81d745 | |
parent | d9dde59ba03095e526640988c0fedd75e93bc8b7 [diff] |
[PATCH] dm: free minor after unlink gendisk 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 <j-nomura@ce.jp.nec.com> Acked-by: Alasdair G Kergon <agk@redhat.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>