Date: Tue, 19 May 1998 13:05:46 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/vm vm_mmap.c Message-ID: <Pine.SV4.3.95.980519130431.26485A-100000@parkplace.cet.co.jp> In-Reply-To: <199805181826.LAA19894@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Guido doesn't seem to be around. Index: vm/vm_mmap.c =================================================================== RCS file: /usr/cvs/src/sys/vm/vm_mmap.c,v retrieving revision 1.76 diff -p -u -r1.76 vm_mmap.c --- vm_mmap.c 1998/05/18 18:26:27 1.76 +++ vm_mmap.c 1998/05/19 02:56:02 @@ -55,6 +55,7 @@ #include <sys/proc.h> #include <sys/vnode.h> #include <sys/fcntl.h> +#include <sys/stat.h> #include <sys/file.h> #include <sys/mman.h> #include <sys/conf.h> @@ -299,6 +300,7 @@ mmap(p, uap) if ((flags & MAP_SHARED) != 0 || (vp->v_type == VCHR && disablexworkaround)) { if ((fp->f_flag & FWRITE) != 0) { + struct vattr va; if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p)))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980519130431.26485A-100000>