From owner-cvs-all Mon Nov 22 2:34:18 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 9757915916; Mon, 22 Nov 1999 02:34:00 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA33729; Mon, 22 Nov 1999 02:33:56 -0800 (PST) (envelope-from phk@FreeBSD.org) Message-Id: <199911221033.CAA33729@freefall.freebsd.org> From: Poul-Henning Kamp Date: Mon, 22 Nov 1999 02:33:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ccd ccd.c src/sys/kern vfs_aio.c vfs_bio.c vfs_subr.c src/sys/ufs/ffs ffs_vfsops.c ffs_vnops.c src/sys/contrib/softupdates ffs_softdep.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 1999/11/22 02:33:56 PST Modified files: sys/dev/ccd ccd.c sys/kern vfs_aio.c vfs_bio.c vfs_subr.c sys/ufs/ffs ffs_vfsops.c ffs_vnops.c sys/contrib/softupdates ffs_softdep.c Log: Convert various pieces of code to use vn_isdisk() rather than checking for vp->v_type == VBLK. In ccd: we don't need to call VOP_GETATTR to find the type of a vnode. Reviewed by: sos Revision Changes Path 1.67 +2 -13 src/sys/dev/ccd/ccd.c 1.63 +2 -5 src/sys/kern/vfs_aio.c 1.236 +5 -5 src/sys/kern/vfs_bio.c 1.236 +5 -4 src/sys/kern/vfs_subr.c 1.112 +3 -3 src/sys/ufs/ffs/ffs_vfsops.c 1.62 +3 -3 src/sys/ufs/ffs/ffs_vnops.c 1.38 +5 -5 src/sys/contrib/softupdates/ffs_softdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message