All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cdrom: MO-drive open write fix (trivial)
@ 2004-08-06 16:33 Stefan Meyknecht
  2004-08-07  5:06 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Meyknecht @ 2004-08-06 16:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe

[PATCH] cdrom: MO-drive open write fix

Allow mounting mo-drives readwrite.

Please apply.

Stefan


--- linux/drivers/cdrom/cdrom.c.orig	2004-08-06 18:04:16.269803330 +0200
+++ linux/drivers/cdrom/cdrom.c	2004-08-06 18:04:33.570828588 +0200
@@ -899,7 +899,7 @@ int cdrom_open(struct cdrom_device_info 
 			ret = -EROFS;
 			if (cdrom_open_write(cdi))
 				goto err;
-			if (!CDROM_CAN(CDC_RAM))
+			if (!CDROM_CAN(CDC_RAM) && !CDROM_CAN(CDC_MO_DRIVE))
 				goto err;
 			ret = 0;
 		}


--
Stefan Meyknecht
stefan at meyknecht dot org

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-08-13 17:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 16:33 [PATCH] cdrom: MO-drive open write fix (trivial) Stefan Meyknecht
2004-08-07  5:06 ` Andrew Morton
2004-08-07  8:38   ` Jens Axboe
2004-08-07 10:35     ` Stefan Meyknecht
2004-08-07 12:12     ` Stefan Meyknecht
2004-08-07 21:57       ` Alan Cox
2004-08-09  6:33       ` Jens Axboe
2004-08-13 17:17         ` Stefan Meyknecht
2004-08-13 17:26           ` Jens Axboe
2004-08-13 17:47             ` Stefan Meyknecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.