plan 9 kernel history: overview | file list | diff list

1991/0427/port/dev.c (diff list | history)

1991/0421/sys/src/9/port/dev.c:77,821991/0427/sys/src/9/port/dev.c:77,83 (short | long | prev | next)
Copy mountid in devclone. Remove devclwalk entirely.
rsc Fri Mar 4 12:44:25 2005
1990/0227    
	nc->offset = c->offset; 
	nc->flag = c->flag; 
	nc->mnt = c->mnt; 
1991/0427    
	nc->mountid = c->mountid; 
1991/0421    
	nc->aux = c->aux; 
1990/0303    
	nc->mchan = c->mchan; 
	nc->mqid = c->mqid; 
1991/0421/sys/src/9/port/dev.c:106,1311991/0427/sys/src/9/port/dev.c:107,112
1990/0227    
			} 
			continue; 
		} 
} 
                 
1991/0414    
Chan* 
devclwalk(Chan *c, char *name) 
1991/0411    
{ 
1991/0414    
	Chan *nc; 
                 
	nc = 0; 
	if(waserror()){ 
		if(nc) 
			close(nc); 
		return 0; 
	} 
	nc = (*devtab[c->type].clone)(c, 0); 
1991/0421    
	if((*devtab[nc->type].walk)(nc, name) == 0){ 
		close(nc); 
		nc = 0; 
	} 
1991/0414    
	poperror(); 
	return nc; 
1991/0411    
} 
 
1990/0227    
void 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)