]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
All directory accesses must be made with NFS_DIRBLKSIZE chunks to avoid
authorAlan Cox <alc@FreeBSD.org>
Mon, 3 May 1999 20:59:14 +0000 (20:59 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 3 May 1999 20:59:14 +0000 (20:59 +0000)
commit7f2f2dae43714c083710ac1b31169e982e4f78a7
treefc412d8c515c571d6d615066581f89e88971f433
parent59b047e23456ac469783ac78043b805dbb83ad0d
All directory accesses must be made with NFS_DIRBLKSIZE chunks to avoid
confusing the directory read cookie cache.  The nfs_access implementation
for v2 mounts attempts to read from the directory if root is the user
so that root can't access cached files when the server remaps root
to some other user.

Submitted by: Doug Rabson <dfr@nlsystems.com>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
sys/nfs/nfs_vnops.c
sys/nfsclient/nfs_vnops.c