From owner-cvs-all Tue Apr 20 22:59:19 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C23F14E96; Tue, 20 Apr 1999 22:59:14 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: (from alc@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id WAA74299; Tue, 20 Apr 1999 22:56:47 -0700 (PDT) (envelope-from alc@FreeBSD.org) Message-Id: <199904210556.WAA74299@freefall.freebsd.org> From: Alan Cox Date: Tue, 20 Apr 1999 22:56:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk alc 1999/04/20 22:56:46 PDT Modified files: sys/kern vfs_vnops.c Log: Address several problems in vn_read and vn_write: 1. Make read-ahead work for pread and aio_read. 2. Fix one place where a comparison of uio_offset with -1 wasn't updated to use FOF_OFFSET. 3. Honor O_APPEND in the FOF_OFFSET case. In addition, use the variable name "ioflag" in both vn_read and vn_write to avoid possible confusion between the variable "flag" and the parameter "flags". Submitted by: Bruce Evans and me Revision Changes Path 1.66 +21 -35 src/sys/kern/vfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message