Date: Tue, 19 May 1998 15:06:49 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: Karl Denninger <karl@mcs.net> Cc: current@FreeBSD.ORG Subject: Re: 'Dat is dis? Message-ID: <Pine.SV4.3.95.980519150627.27212A-100000@parkplace.cet.co.jp> In-Reply-To: <19980518163957.07833@mcs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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))) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980519150627.27212A-100000>