On Wed, 28 Jan 2004, Jens Axboe wrote: > Alright, this is your version plus write protect io error handling. > Could you check if this works for you? Works for me. I've tested the fallback by making mo_open_write always succeed and then inserting a write-protected disc. I now only get one error report from the drive, the rest of the writes are correctly denied before hitting the drive. -- Ciao, Pascal - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: MO: opening for write in cdrom.cJens Axboe
- Re: MO: opening for write in cdrom.cJens Axboe
- Prev by Date: Re: New NUMA scheduler and hotplug CPU
- Next by Date: Re: MO: opening for write in cdrom.c
- Previous by thread: Re: MO: opening for write in cdrom.c
- Next by thread: Re: MO: opening for write in cdrom.c
- Indexes:[Main][Thread]