From owner-cvs-all Tue Sep 7 15:44:12 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 57BDB14EBB; Tue, 7 Sep 1999 15:44:09 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA25168; Tue, 7 Sep 1999 15:42:38 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Message-Id: <199909072242.PAA25168@freefall.freebsd.org> From: Alfred Perlstein Date: Tue, 7 Sep 1999 15:42:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/coda coda_vfsops.c src/sys/isofs/cd9660 cd9660_vfsops.c src/sys/kern vfs_default.c src/sys/miscfs/devfs devfs_vfsops.c src/sys/miscfs/fdesc fdesc_vfsops.c src/sys/miscfs/kernfs kernfs.h kernfs_vfsops.c ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk alfred 1999/09/07 15:42:38 PDT Modified files: sys/coda coda_vfsops.c sys/isofs/cd9660 cd9660_vfsops.c sys/kern vfs_default.c sys/miscfs/devfs devfs_vfsops.c sys/miscfs/fdesc fdesc_vfsops.c sys/miscfs/kernfs kernfs.h kernfs_vfsops.c sys/miscfs/portal portal_vfsops.c sys/miscfs/procfs procfs_vfsops.c sys/miscfs/union union_vfsops.c sys/msdosfs msdosfs_vfsops.c sys/nfs nfs_vfsops.c sys/ntfs ntfs_vfsops.c sys/sys mount.h Log: All unimplemented VFS ops now have entries in kern/vfs_default.c that return reasonable defaults. This avoids confusing and ugly casting to eopnotsupp or making dummy functions. Bogus casting of filesystem sysctls to eopnotsupp() have been removed. This should make *_vfsops.c more readable and reduce bloat. Reviewed by: msmith, eivind Approved by: phk Tested by: Jeroen Ruigrok/Asmodai Revision Changes Path 1.19 +7 -57 src/sys/coda/coda_vfsops.c 1.64 +5 -51 src/sys/isofs/cd9660/cd9660_vfsops.c 1.22 +117 -1 src/sys/kern/vfs_default.c 1.38 +6 -49 src/sys/miscfs/devfs/devfs_vfsops.c 1.20 +7 -40 src/sys/miscfs/fdesc/fdesc_vfsops.c 1.12 +1 -12 src/sys/miscfs/kernfs/kernfs.h 1.33 +9 -28 src/sys/miscfs/kernfs/kernfs_vfsops.c 1.24 +8 -40 src/sys/miscfs/portal/portal_vfsops.c 1.29 +8 -41 src/sys/miscfs/procfs/procfs_vfsops.c 1.34 +7 -50 src/sys/miscfs/union/union_vfsops.c 1.51 +4 -39 src/sys/msdosfs/msdosfs_vfsops.c 1.86 +6 -90 src/sys/nfs/nfs_vfsops.c 1.13 +24 -11 src/sys/ntfs/ntfs_vfsops.c 1.77 +23 -1 src/sys/sys/mount.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message