patch-2.1.31 linux/drivers/cdrom/mcd.c

Next file: linux/drivers/cdrom/mcdx.c
Previous file: linux/drivers/cdrom/gscd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/cdrom/mcd.c linux/drivers/cdrom/mcd.c
@@ -1142,7 +1142,7 @@
  * On close, we flush all mcd blocks from the buffer cache.
  */
 
-static void
+static int
 mcd_release(struct inode * inode, struct file * file)
 { MOD_DEC_USE_COUNT;
   if (!--mcd_open_count) {
@@ -1150,6 +1150,7 @@
 	sync_dev(inode->i_rdev);
 	invalidate_buffers(inode -> i_rdev);
   }
+  return 0;
 }
 
 

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