Date: Mon, 1 Jun 1998 04:32:54 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_bio.c Message-ID: <199806011132.EAA13056@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/06/01 04:32:54 PDT
Modified files:
sys/nfs nfs_bio.c
Log:
Make sure we go a nfs_fsinfo() in get/putpages before calling
readrpc/writerpc, since they assume it's already been done. This could
break if the first read/write access to a nfs filesystem was an exec() or
mmap() instead of a read(), write() syscall. (or statfs()).
nfs_getpages() could return an errno (EOPNOTSUPP) instead of a VM_PAGER_*
return code. Some layout tweaks for the get/putpages code.
Revision Changes Path
1.58 +71 -31 src/sys/nfs/nfs_bio.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806011132.EAA13056>
