diff options
author | dfr <dfr@FreeBSD.org> | 1994-09-28 16:45:22 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1994-09-28 16:45:22 +0000 |
commit | 57b6c0c34c7d3130b7c00e4293686bd588419fe6 (patch) | |
tree | 31a9fd0d25f683274b252c0f76348271e04406c4 /sys/kern/vfs_extattr.c | |
parent | c49750310fc7779d5e19ee11d35ae43d4a9d4548 (diff) | |
download | FreeBSD-src-57b6c0c34c7d3130b7c00e4293686bd588419fe6.zip FreeBSD-src-57b6c0c34c7d3130b7c00e4293686bd588419fe6.tar.gz |
Make NFS ask the filesystems for directory cookies instead of making them
itself.
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r-- | sys/kern/vfs_extattr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 4607112..21fc5ee 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.7 1994/09/21 03:46:49 wollman Exp $ + * $Id: vfs_syscalls.c,v 1.8 1994/09/22 19:37:56 wollman Exp $ */ #include <sys/param.h> @@ -1970,7 +1970,7 @@ ogetdirentries(p, uap, retval) loff = auio.uio_offset = fp->f_offset; # if (BYTE_ORDER != LITTLE_ENDIAN) if (vp->v_mount->mnt_maxsymlinklen <= 0) { - error = VOP_READDIR(vp, &auio, fp->f_cred); + error = VOP_READDIR(vp, &auio, fp->f_cred, NULL, NULL, NULL); fp->f_offset = auio.uio_offset; } else # endif @@ -1981,7 +1981,7 @@ ogetdirentries(p, uap, retval) kiov.iov_len = uap->count; MALLOC(dirbuf, caddr_t, uap->count, M_TEMP, M_WAITOK); kiov.iov_base = dirbuf; - error = VOP_READDIR(vp, &kuio, fp->f_cred); + error = VOP_READDIR(vp, &kuio, fp->f_cred, NULL, NULL, NULL); fp->f_offset = kuio.uio_offset; if (error == 0) { readcnt = uap->count - kuio.uio_resid; @@ -2066,7 +2066,7 @@ unionread: auio.uio_resid = uap->count; VOP_LOCK(vp); loff = auio.uio_offset = fp->f_offset; - error = VOP_READDIR(vp, &auio, fp->f_cred); + error = VOP_READDIR(vp, &auio, fp->f_cred, NULL, NULL, NULL); fp->f_offset = auio.uio_offset; VOP_UNLOCK(vp); if (error) |