|
Re: [PATCH] md - 3 of 3 - Don't check a device size before bd_get in md.c: msg#00095linux.raid
On Wednesday March 19, marcelo@xxxxxxxxxxxxxxxx wrote: > > Its already on my tree. Great. This will fix it up. Thanks. NeilBrown Fix compile errors/warnings in md ----------- Diffstat output ------------ ./drivers/md/md.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff ./drivers/md/md.c~current~ ./drivers/md/md.c --- ./drivers/md/md.c~current~ 2003-03-20 09:58:02.000000000 +1100 +++ ./drivers/md/md.c 2003-03-20 10:33:04.000000000 +1100 @@ -2422,7 +2422,7 @@ static int hot_add_disk(mddev_t * mddev, printk(KERN_WARNING "md%d: disk size %d blocks < array size %d\n", mdidx(mddev), size, mddev->sb->size); err = -ENOSPC; - gotot abort_export; + goto abort_export; } bind_rdev_to_array(rdev, mddev); @@ -3066,7 +3066,7 @@ int md_error(mddev_t *mddev, kdev_t rdev return 0; } -static int status_unused(struct seq_file *seq) +static void status_unused(struct seq_file *seq) { int i = 0; mdk_rdev_t *rdev; - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [PATCH 2.5.65] update md driver to new module API: 00095, Daniel McNeil |
|---|---|
| Next by Date: | I just trashed my RAID5 array - recovery possible?: 00095, Wolfram Schlich |
| Previous by Thread: | Re: [PATCH] md - 3 of 3 - Don't check a device size before bd_get in md.ci: 00095, Marcelo Tosatti |
| Next by Thread: | [PATCH] md - 1 of 3 - Fix small bug in md.c: 00095, NeilBrown |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |