patch-2.1.31 linux/drivers/block/md.c
Next file: linux/drivers/block/ps2esdi.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Apr 2 17:43:20 1997
- Orig file:
v2.1.30/linux/drivers/block/md.c
- Orig date:
Fri Dec 27 02:03:20 1996
diff -u --recursive --new-file v2.1.30/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -362,12 +362,13 @@
}
-static void md_release (struct inode *inode, struct file *file)
+static int md_release (struct inode *inode, struct file *file)
{
int minor=MINOR(inode->i_rdev);
sync_dev (inode->i_rdev);
md_dev[minor].busy--;
+ return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov