diff options
author | Jun'ichi Nomura <j-nomura@ce.jp.nec.com> | 2006-02-24 13:04:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-24 14:31:39 -0800 |
commit | 63d94e482df769f31e8b1097f06c3a3fba7bced4 (patch) | |
tree | 0461197daa1d7df50087b4dfa2b692dfcd81d745 /drivers/macintosh/adb-iop.c | |
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>
Diffstat (limited to 'drivers/macintosh/adb-iop.c')
0 files changed, 0 insertions, 0 deletions