mddev->resync_max_sectors = sectors; 
static int raid6_resize(mddev_t *mddev, sector_t sectors){	/* no resync is happening, and there is enough space	 * on all devices, so we can resize.	 * We need to make sure resync covers any new space.	 * If the array is shrinking we should possibly wait until	 * any io in the removed space completes, but it hardly seems	 * worth it.	 */	sectors &= ~((sector_t)mddev->chunk_size/512 - 1);	mddev->array_size = (sectors * (mddev->raid_disks-2))>>1;	set_capacity(mddev->gendisk, mddev->array_size << 1);	mddev->changed = 1;	if (sectors/2  > mddev->size && mddev->recovery_cp == MaxSector) {		mddev->recovery_cp = mddev->size << 1;		set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);	}	mddev->size = sectors /2;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4b5c7ae83704320e2afb0912f4c42eadabc7535b/raid6main.c/buggy/drivers/md/raid6main.c