patch-2.1.31 linux/drivers/cdrom/optcd.c
Next file: linux/drivers/cdrom/sbpcd.c
Previous file: linux/drivers/cdrom/mcdx.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Wed Apr  2 17:43:20 1997
-  Orig file: 
v2.1.30/linux/drivers/cdrom/optcd.c
-  Orig date: 
Sun Jan 26 02:07:11 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/cdrom/optcd.c linux/drivers/cdrom/optcd.c
@@ -1914,7 +1914,7 @@
 
 
 /* Release device special file; flush all blocks from the buffer cache */
-static void opt_release(struct inode *ip, struct file *fp)
+static int opt_release(struct inode *ip, struct file *fp)
 {
 	int status;
 
@@ -1939,6 +1939,7 @@
 		CLEAR_REQ_TIMER;
 	}
 	MOD_DEC_USE_COUNT;
+	return 0;
 }
 
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov