Re: CDROM_LOCKDOOR, CDROMEJECT...

Jens Axboe (axboe@image.dk)
Wed, 08 Dec 1999 13:00:41 +0100


Francis GALIEGUE wrote:
> Sorry, I really mispelled on this one. I meant that CDROMEJECT does
> *not* check for usage count, and you can eject a CDROM even though its
> usage count is more than one.

What?

case CDROMEJECT: {
...
if (cdi->use_count != 1 || keeplocked)
return -EBUSY;
...

This is from 2.2.14-pre(something)

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/