fixed writing to /view/X/mode

This commit is contained in:
Anselm R. Garbe 2006-04-14 12:49:29 +02:00
parent 2007eebaae
commit 16eba3214a

View File

@ -228,8 +228,6 @@ qid2name(Qid *qid)
case FsFmode:
if((qid->dir_type == FsDarea) && (i1 == -1 || i2 == -1))
return nil;
else if(qid->dir_type != FsDdef)
return nil;
if(qid->dir_type == FsDdef)
return "colmode";
else
@ -410,8 +408,6 @@ mkqid(Qid *dir, char *wname, Qid *new)
case FsFmode:
if((dir_type == FsDarea) && (dir_i1 == -1 || dir_i2 == -1))
return -1;
if(dir_type != FsDdef)
return -1;
goto Mkfile;
break;
case FsFgeom: