aboutsummaryrefslogtreecommitdiff
path: root/src/libdiskfs
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-05-09 18:35:24 +0000
committerrsc <devnull@localhost>2006-05-09 18:35:24 +0000
commit4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4 (patch)
treeeb27c2f88d8f78561e97a3faf273fe401b04c634 /src/libdiskfs
parent495eda0bbd4066543e339e3a0bb33d4b55e4a8f8 (diff)
downloadplan9port-4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4.tar.gz
plan9port-4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4.tar.bz2
plan9port-4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4.zip
set namelen
Diffstat (limited to 'src/libdiskfs')
-rw-r--r--src/libdiskfs/ffs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libdiskfs/ffs.c b/src/libdiskfs/ffs.c
index e7ce57e3..7864c719 100644
--- a/src/libdiskfs/ffs.c
+++ b/src/libdiskfs/ffs.c
@@ -749,6 +749,7 @@ ffsreaddir(Fsys *fsys, SunAuthUnix *au, Nfs3Handle *h, u32int count, u64int cook
continue;
e.fileid = de->ino;
e.name = de->name;
+ e.namelen = de->namlen;
e.cookie = (u64int)i*fs->blocksize + (p - b->data);
if(nfs3entrypack(dp, dep, &ndp, &e) < 0){
done = 1;