From owner-cvs-all Wed Aug 25 5:49:11 1999 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id B552815099; Wed, 25 Aug 1999 05:49:03 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id OAA06428; Wed, 25 Aug 1999 14:48:10 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Nick Hibma Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys vnode.h src/sys/kern vfs_subr.c src/sys/ufs/ffs ffs_vfsops.c src/sys/ntfs ntfs_vfsops.c src/sys/msdosfs msdosfs_vfsops.c src/sys/isofs/cd9660 cd9660_vfsops.c src/sys/gnu/ext2fs ext2_vfsops.c In-reply-to: Your message of "Wed, 25 Aug 1999 14:38:23 +0200." Date: Wed, 25 Aug 1999 14:48:10 +0200 Message-ID: <6426.935585290@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Shouln't you be doing something useful ? In message , Nick Hibma writes: > >Shouldn't the return value of the function be a float? Like worm being >half a disk, etc.? > >Nick > >On Wed, 25 Aug 1999, Poul-Henning Kamp wrote: > > > phk 1999/08/25 05:24:40 PDT > > > > Modified files: > > sys/sys vnode.h > > sys/kern vfs_subr.c > > sys/ufs/ffs ffs_vfsops.c > > sys/ntfs ntfs_vfsops.c > > sys/msdosfs msdosfs_vfsops.c > > sys/isofs/cd9660 cd9660_vfsops.c > > sys/gnu/ext2fs ext2_vfsops.c > > Log: > > Introduce vn_isdisk(struct vnode *vp) function, and use it to test for diskness. > > > > Revision Changes Path > > 1.97 +2 -1 src/sys/sys/vnode.h > > 1.220 +20 -9 src/sys/kern/vfs_subr.c > > 1.103 +2 -6 src/sys/ufs/ffs/ffs_vfsops.c > > 1.10 +2 -6 src/sys/ntfs/ntfs_vfsops.c > > 1.49 +2 -6 src/sys/msdosfs/msdosfs_vfsops.c > > 1.60 +2 -6 src/sys/isofs/cd9660/cd9660_vfsops.c > > 1.53 +1 -5 src/sys/gnu/ext2fs/ext2_vfsops.c > > > > > > >-- >ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy > > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message