set namelen
This commit is contained in:
parent
495eda0bbd
commit
4e81d4f6d6
1 changed files with 1 additions and 0 deletions
|
|
@ -749,6 +749,7 @@ ffsreaddir(Fsys *fsys, SunAuthUnix *au, Nfs3Handle *h, u32int count, u64int cook
|
||||||
continue;
|
continue;
|
||||||
e.fileid = de->ino;
|
e.fileid = de->ino;
|
||||||
e.name = de->name;
|
e.name = de->name;
|
||||||
|
e.namelen = de->namlen;
|
||||||
e.cookie = (u64int)i*fs->blocksize + (p - b->data);
|
e.cookie = (u64int)i*fs->blocksize + (p - b->data);
|
||||||
if(nfs3entrypack(dp, dep, &ndp, &e) < 0){
|
if(nfs3entrypack(dp, dep, &ndp, &e) < 0){
|
||||||
done = 1;
|
done = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue