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

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, [email protected]
TCL-scripts by Sam Shen, [email protected]