Be consistent about root qid: use 0 not 42 (no idea what 42 was).
[rsc] --rw-rw-r-- M 190743 glenda sys 15730 Sep 4 08:09 sys/src/cmd/wikifs/fs.c
/n/sourcesdump/2005/0904/plan9/sys/src/cmd/wikifs/fs.c:109,115 -
/n/sourcesdump/2005/0905/plan9/sys/src/cmd/wikifs/fs.c:109,115
r->fid->aux = a;
a->name = s_copy(r->ifcall.uname);
- r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 42), 0, QTDIR};
+ r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 0), 0, QTDIR};
r->fid->qid = r->ofcall.qid;
respond(r, nil);
}
[sys] --rwxrwxr-x M 190743 glenda sys 202134 Sep 4 23:10 386/bin/wikifs
/sys/src/cmd/wikifs/fs.c:fsattach
|