--- linux-2.6.11.6/drivers/md/raid1.c.orig Sat Mar 26 04:28:21 2005 +++ linux-2.6.11.6/drivers/md/raid1.c Sun Jun 12 00:32:54 2005 @@ -512,6 +692,13 @@ r1bio_t *r1_bio; struct bio *read_bio; int i, disks; +#ifdef CONFIG_MD_FR1 + /* + * counts of working and non-working (absent, faulty) disks. + */ + int sum_bios = 0, sum_nobios = 0; + struct bitmap * bitmap = conf->bitmap; +#endif /* CONFIG_MD_FR1 */ /* * Register the new request and wait if the reconstruction