diff options
| author | Boris Popov <bp@FreeBSD.org> | 1999-10-07 12:18:12 +0000 |
|---|---|---|
| committer | Boris Popov <bp@FreeBSD.org> | 1999-10-07 12:18:12 +0000 |
| commit | f05e3aac6ff70aa5164c943b3ed63d9408e4532d (patch) | |
| tree | fa6de3befff360c326a2f0ea48aaef47102f5f4e /sys/fs | |
| parent | a349d1bbfbefce1018cea1ab59263d7e0db9e962 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/nwfs/nwfs_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c index 84f702da2ce2..67346d4de5d6 100644 --- a/sys/fs/nwfs/nwfs_io.c +++ b/sys/fs/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); |
