From owner-cvs-sys Mon Oct 27 07:28:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA26071 for cvs-sys-outgoing; Mon, 27 Oct 1997 07:28:38 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA25922; Mon, 27 Oct 1997 07:26:32 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA10443; Mon, 27 Oct 1997 07:26:25 -0800 (PST) Date: Mon, 27 Oct 1997 07:26:25 -0800 (PST) Message-Id: <199710271526.HAA10443@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/10/27 07:26:25 PST Modified files: sys/kern vfs_vnops.c Log: Use 127 instead of CHAR_MAX for the limit on the sequence count. The limit doesn't have anything to do with characters. The count mainly needs to fit in the VOP_READ() ioflag after being left shifted by 16. Moved vn_lock() before vn_closefile(). vn_lock() was mismerged from Lite2. Removed some gratuitous braces. Revision Changes Path 1.40 +17 -18 src/sys/kern/vfs_vnops.c