M port/chan.c => port/chan.c +2 -2
@@ 422,19 422,19 @@ Mhead*
newmhead(Chan *from)
{
Mhead *mh;
- int n;
mh = smalloc(sizeof(Mhead));
mh->ref = 1;
mh->from = from;
incref(from);
+/*
n = from->name->len;
if(n >= sizeof(mh->fromname))
n = sizeof(mh->fromname)-1;
memmove(mh->fromname, from->name->s, n);
mh->fromname[n] = 0;
-
+*/
return mh;
}
M port/portdat.h => port/portdat.h +0 -1
@@ 251,7 251,6 @@ struct Mount
struct Mhead
{
- char fromname[32]; /* temporary for debugging */
Ref;
RWlock lock;
Chan* from; /* channel mounted upon */