patch-2.1.31 linux/drivers/block/rd.c
Next file: linux/drivers/block/triton.c
Previous file: linux/drivers/block/ps2esdi.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Apr 2 17:43:20 1997
- Orig file:
v2.1.30/linux/drivers/block/rd.c
- Orig date:
Sun Jan 26 02:07:11 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/block/rd.c linux/drivers/block/rd.c
@@ -196,7 +196,7 @@
}
-static void initrd_release(struct inode *inode,struct file *file)
+static int initrd_release(struct inode *inode,struct file *file)
{
unsigned long i;
@@ -204,6 +204,7 @@
for (i = initrd_start; i < initrd_end; i += PAGE_SIZE)
free_page(i);
initrd_start = 0;
+ return 0;
}
@@ -243,9 +244,10 @@
}
#ifdef MODULE
-static void rd_release(struct inode * inode, struct file * filp)
+static int rd_release(struct inode * inode, struct file * filp)
{
MOD_DEC_USE_COUNT;
+ return 0;
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov