patch-2.1.81 linux/drivers/block/md.c
Next file: linux/drivers/block/ps2esdi.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Jan 23 17:38:04 1998
- Orig file:
v2.1.80/linux/drivers/block/md.c
- Orig date:
Thu Jan 15 14:33:05 1998
diff -u --recursive --new-file v2.1.80/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -493,7 +493,7 @@
/*
* ioctl : one open channel
*/
- printk ("STOP_MD md%x failed : i_count=%ld, busy=%d\n",
+ printk ("STOP_MD md%x failed : i_count=%d, busy=%d\n",
minor, inode->i_count, md_dev[minor].busy);
return -EBUSY;
}
@@ -846,6 +846,7 @@
static struct proc_dir_entry proc_md = {
PROC_MD, 6, "mdstat",
S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_array_inode_operations,
};
static void md_geninit (struct gendisk *gdisk)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov