patch-2.1.31 linux/drivers/cdrom/gscd.c
Next file: linux/drivers/cdrom/mcd.c
Previous file: linux/drivers/cdrom/cdu31a.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Apr 2 17:43:20 1997
- Orig file:
v2.1.30/linux/drivers/cdrom/gscd.c
- Orig date:
Sun Jan 26 02:07:11 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/cdrom/gscd.c linux/drivers/cdrom/gscd.c
@@ -87,7 +87,7 @@
static void do_gscd_request (void);
static int gscd_ioctl (struct inode *, struct file *, unsigned int, unsigned long);
static int gscd_open (struct inode *, struct file *);
-static void gscd_release (struct inode *, struct file *);
+static int gscd_release (struct inode *, struct file *);
static int check_gscd_med_chg (kdev_t);
/* GoldStar Funktionen */
@@ -394,7 +394,7 @@
* On close, we flush all gscd blocks from the buffer cache.
*/
-static void gscd_release (struct inode * inode, struct file * file)
+static int gscd_release (struct inode * inode, struct file * file)
{
#ifdef GSCD_DEBUG
@@ -406,6 +406,7 @@
invalidate_buffers(inode -> i_rdev);
MOD_DEC_USE_COUNT;
+ return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov