[PATCH] pktcdvd: Don't unlock the door if the disc is in use
authorPeter Osterlund <petero2@telia.com>
Tue, 14 Feb 2006 21:52:56 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 15 Feb 2006 00:09:33 +0000 (16:09 -0800)
commit948423e5ccc33bc257384ad4b339214c577bc926
treefca922bbce34cf69c561b34bb40c796cd982ae27
parent01fd9fda2ce462b44bafdac2fe6aacacf23531f2
[PATCH] pktcdvd: Don't unlock the door if the disc is in use

Unlocking the door when the disc is in use is obviously not good, because then
it's possible to eject the disc at the wrong time and cause severe disc data
corruption.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c