if (rdev && rdev->in_sync) {
if (rdev && test_bit(In_sync, &rdev->flags)) {
static int multipath_map (multipath_conf_t *conf){	int i, disks = conf->raid_disks;	/*	 * Later we do read balancing on the read side 	 * now we use the first available disk.	 */	rcu_read_lock();	for (i = 0; i < disks; i++) {		mdk_rdev_t *rdev = rcu_dereference(conf->multipaths[i].rdev);		if (rdev && rdev->in_sync) {			atomic_inc(&rdev->nr_pending);			rcu_read_unlock();			return i;		}	}	rcu_read_unlock();	printk(KERN_ERR "multipath_map(): no more operational IO paths?\n");	return (-1);}