patch-2.1.31 linux/drivers/scsi/sg.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 2 17:43:21 1997
- Orig file:
v2.1.30/linux/drivers/scsi/sg.c
- Orig date:
Sun Jan 26 02:07:21 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -149,7 +149,7 @@
return 0;
}
-static void sg_close(struct inode * inode, struct file * filp)
+static int sg_close(struct inode * inode, struct file * filp)
{
int dev=MINOR(inode->i_rdev);
scsi_generics[dev].users--;
@@ -159,6 +159,7 @@
__MOD_DEC_USE_COUNT(sg_template.module);
scsi_generics[dev].exclude=0;
wake_up(&scsi_generics[dev].generic_wait);
+ return 0;
}
static char *sg_malloc(int size)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov