DEFINE_WAIT(w); 
void md_write_start(mddev_t *mddev, struct bio *bi){	DEFINE_WAIT(w);	if (bio_data_dir(bi) != WRITE)		return;	atomic_inc(&mddev->writes_pending);	if (mddev->in_sync) {		spin_lock(&mddev->write_lock);		if (mddev->in_sync) {			mddev->in_sync = 0;			mddev->sb_dirty = 1;			md_wakeup_thread(mddev->thread);		}		spin_unlock(&mddev->write_lock);	}	wait_event(mddev->sb_wait, mddev->sb_dirty==0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/72626685dc66d455742a7f215a0535c551628b9e/md.c/buggy/drivers/md/md.c