diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
commit | 230e5ab6a084ed50470f101934782dbf54b0d06b (patch) | |
tree | 5dd821c8d33f450470588e7a543f74bf74306e9e /drivers/block/raid0.c | |
parent | c9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (diff) |
Merge with Linux 2.1.67.
Diffstat (limited to 'drivers/block/raid0.c')
-rw-r--r-- | drivers/block/raid0.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/block/raid0.c b/drivers/block/raid0.c index 6d269745b..7b8aea1c9 100644 --- a/drivers/block/raid0.c +++ b/drivers/block/raid0.c @@ -250,6 +250,7 @@ static int raid0_status (char *page, int minor, struct md_dev *mddev) data->strip_zone[j].size); } #endif + sz+=sprintf (page+sz, " %dk chunks", 1<<FACTOR_SHIFT(FACTOR(mddev))); return sz; } @@ -258,11 +259,17 @@ static struct md_personality raid0_personality= { "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 */ }; |