|
[PATCH] md - 1 of 3 - Fix small bug in md.c: msg#00062linux.raid
We cannot de-reference rdev->sb if rdev->faulty.... ----------- Diffstat output ------------ ./drivers/md/md.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff ./drivers/md/md.c~current~ ./drivers/md/md.c --- ./drivers/md/md.c~current~ 2003-03-12 11:54:51.000000000 +1100 +++ ./drivers/md/md.c 2003-03-12 11:54:51.000000000 +1100 @@ -1048,7 +1048,7 @@ repeat: printk("(skipping faulty "); if (rdev->alias_device) printk("(skipping alias "); - if (disk_faulty(&rdev->sb->this_disk)) { + if (!rdev->faulty && disk_faulty(&rdev->sb->this_disk)) { printk("(skipping new-faulty %s )\n", partition_name(rdev->dev)); continue; - 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] md - 3 of 3 - Don't check a device size before bd_get in md.c: 00062, NeilBrown |
|---|---|
| Next by Date: | Re: [PATCH] 2.4.18-26.7.x /proc/mdstat seq_file: 00062, Kevin P. Fleming |
| Previous by Thread: | [PATCH] md - 3 of 3 - Don't check a device size before bd_get in md.ci: 00062, NeilBrown |
| Next by Thread: | multipath enhancements to md 2.4 + mdadm fixes: 00062, Lars Marowsky-Bree |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |