patch-2.1.118 linux/drivers/cdrom/sonycd535.c

Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/cdrom/sjcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/drivers/cdrom/sonycd535.c linux/drivers/cdrom/sonycd535.c
@@ -1469,16 +1469,17 @@
 {
 	NULL,						/* lseek - default */
 	block_read,					/* read - general block-dev read */
-	block_write,				/* write - general block-dev write */
+	block_write,					/* write - general block-dev write */
 	NULL,						/* readdir - bad */
 	NULL,						/* poll */
 	cdu_ioctl,					/* ioctl */
 	NULL,						/* mmap */
 	cdu_open,					/* open */
-	cdu_release,				/* release */
+	NULL,						/* flush */
+	cdu_release,					/* release */
 	NULL,						/* fsync */
 	NULL,						/* fasync */
-	cdu535_check_media_change,	/* check media change */
+	cdu535_check_media_change,			/* check media change */
 	NULL						/* revalidate */
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov