patch-2.1.63 linux/drivers/block/raid0.c
Next file: linux/drivers/block/raid1.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Nov 8 11:39:12 1997
- Orig file:
v2.1.62/linux/drivers/block/raid0.c
- Orig date:
Sun Sep 7 13:10:42 1997
diff -u --recursive --new-file v2.1.62/linux/drivers/block/raid0.c linux/drivers/block/raid0.c
@@ -250,6 +250,7 @@
data->strip_zone[j].size);
}
#endif
+ sz+=sprintf (page+sz, " %dk chunks", 1<<FACTOR_SHIFT(FACTOR(mddev)));
return sz;
}
@@ -258,11 +259,17 @@
{
"raid0",
raid0_map,
+ NULL, /* no special make_request */
+ NULL, /* no special end_request */
raid0_run,
raid0_stop,
raid0_status,
NULL, /* no ioctls */
- 0
+ 0,
+ NULL, /* no error_handler */
+ NULL, /* hot_add_disk */
+ NULL, /* hot_remove_disk */
+ NULL /* mark_spare */
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov