diff options
author | bp <bp@FreeBSD.org> | 1999-10-07 12:18:12 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 1999-10-07 12:18:12 +0000 |
commit | 92cdc096e64f4f2f9198db3941bce72a914b7350 (patch) | |
tree | 11cc6cc77c51eeac69048020af8700678bf5b5c8 /sys/nwfs | |
parent | fc3c2c1bd51a2058e0263ab2b20bb78980e3bfef (diff) | |
download | FreeBSD-src-92cdc096e64f4f2f9198db3941bce72a914b7350.zip FreeBSD-src-92cdc096e64f4f2f9198db3941bce72a914b7350.tar.gz |
Put back cn_namelen initialization. Removed by phk in rev 1.2.
Diffstat (limited to 'sys/nwfs')
-rw-r--r-- | sys/nwfs/nwfs_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nwfs/nwfs_io.c b/sys/nwfs/nwfs_io.c index 84f702d..67346d4 100644 --- a/sys/nwfs/nwfs_io.c +++ b/sys/nwfs/nwfs_io.c @@ -148,6 +148,7 @@ nwfs_readvdir(struct vnode *vp, struct uio *uio, struct ucred *cred) { if (!error) { VTONW(newvp)->n_ctime = VTONW(newvp)->n_vattr.va_ctime.tv_sec; cnp->cn_nameptr = dp.d_name; + cnp->cn_namelen = dp.d_namlen; ndp->ni_vp = newvp; cache_enter(ndp->ni_dvp, ndp->ni_vp, cnp); vput(newvp); |