Messages in this thread |  | | | Date | Fri, 2 Jul 2004 15:26:04 +0200 | | From | Jens Axboe <> | | Subject | Re: [PATCH] Can't open CDROM device for writing |
| |
On Thu, Jul 01 2004, Peter Osterlund wrote: > Opening a CDROM device for writing no longer works, because > cdrom_open() returns -EROFS even if cdrom_open_write() succeeds. This > patch for 2.6.7-bk13 fixes it. > > Signed-off-by: Peter Osterlund <petero2@telia.com> > > --- > > linux-petero/drivers/cdrom/cdrom.c | 1 + > 1 files changed, 1 insertion(+) > > diff -puN drivers/cdrom/cdrom.c~cdrom-write-fix drivers/cdrom/cdrom.c > --- linux/drivers/cdrom/cdrom.c~cdrom-write-fix 2004-07-01 13:16:27.772595136 +0200 > +++ linux-petero/drivers/cdrom/cdrom.c 2004-07-01 13:17:34.380469200 +0200 > @@ -901,6 +901,7 @@ int cdrom_open(struct cdrom_device_info > goto err; > if (cdrom_open_write(cdi)) > goto err; > + ret = 0; > } > }
Indeed, thanks.
-- Jens Axboe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |