ext2 fixes

This commit is contained in:
rsc 2006-05-04 18:03:11 +00:00
parent 886a6f6c53
commit 80b4aedc11
4 changed files with 20 additions and 7 deletions

View file

@ -116,7 +116,8 @@ threadmain(int argc, char **argv)
tracecalls = 1;
break;
case 'V':
chattyventi = 1;
if(chattyventi++)
vttracelevel++;
break;
case 'a':
addr = EARGF(usage());
@ -836,6 +837,7 @@ cnodereaddir(Cnode *n, u32int count, u64int cookie, uchar **pdata, u32int *pcoun
continue;
}
ne.name = n->name;
ne.namelen = strlen(n->name);
ne.cookie = ++cookie;
ne.fileid = *(u64int*)n->handle;
if(nfs3entrypack(p, ep, &np, &ne) < 0)