&& !tmp->rdev->faulty && !tmp->rdev->in_sync) { 
&& !test_bit(Faulty, &tmp->rdev->flags) && !test_bit(In_sync, &tmp->rdev->flags)) { 
static int raid1_spare_active(mddev_t *mddev){	int i;	conf_t *conf = mddev->private;	mirror_info_t *tmp;	/*	 * Find all failed disks within the RAID1 configuration 	 * and mark them readable	 */	for (i = 0; i < conf->raid_disks; i++) {		tmp = conf->mirrors + i;		if (tmp->rdev 		    && !tmp->rdev->faulty		    && !tmp->rdev->in_sync) {			conf->working_disks++;			mddev->degraded--;			tmp->rdev->in_sync = 1;		}	}	print_conf(conf);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b2d444d7ad975d555bb919601bcdc0e58975a40e/raid1.c/clean/drivers/md/raid1.c