if (!uptodate) 
if (!uptodate) { 
static int end_sync_write(struct bio *bio, unsigned int bytes_done, int error){	int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags);	r1bio_t * r1_bio = (r1bio_t *)(bio->bi_private);	mddev_t *mddev = r1_bio->mddev;	conf_t *conf = mddev_to_conf(mddev);	int i;	int mirror=0;	if (bio->bi_size)		return 1;	for (i = 0; i < conf->raid_disks; i++)		if (r1_bio->bios[i] == bio) {			mirror = i;			break;		}	if (!uptodate)		md_error(mddev, conf->mirrors[mirror].rdev);	update_head_pos(mirror, r1_bio);	if (atomic_dec_and_test(&r1_bio->remaining)) {		md_done_sync(mddev, r1_bio->sectors, uptodate);		put_buf(r1_bio);	}	rdev_dec_pending(conf->mirrors[mirror].rdev, mddev);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/191ea9b2c7cc3ebbe0678834ab710d7d95ad3f9a/raid1.c/buggy/drivers/md/raid1.c