From owner-cvs-sys Thu Oct 16 13:35:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA23447 for cvs-sys-outgoing; Thu, 16 Oct 1997 13:35:05 -0700 (PDT) (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 NAA23283; Thu, 16 Oct 1997 13:33:53 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA10084; Thu, 16 Oct 1997 13:32:41 -0700 (PDT) Date: Thu, 16 Oct 1997 13:32:41 -0700 (PDT) Message-Id: <199710162032.NAA10084@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/gnu/ext2fs ext2_alloc.c ext2_extern.h ext2_inode.c ext2_readwrite.c ext2_vfsops.c ext2_vnops.c src/sys/isofs/cd9660 cd9660_vnops.c src/sys/kern vfs_default.c vnode_if.src src/sys/miscfs/deadfs dead_vnops.c ... Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/10/16 13:32:41 PDT Modified files: sys/gnu/ext2fs ext2_alloc.c ext2_extern.h ext2_inode.c ext2_readwrite.c ext2_vfsops.c ext2_vnops.c sys/isofs/cd9660 cd9660_vnops.c sys/kern vfs_default.c vnode_if.src sys/miscfs/deadfs dead_vnops.c sys/miscfs/devfs devfs_vnops.c sys/miscfs/fdesc fdesc_vnops.c sys/miscfs/fifofs fifo_vnops.c sys/miscfs/kernfs kernfs_vnops.c sys/miscfs/portal portal_vnops.c sys/miscfs/procfs procfs_vnops.c sys/miscfs/specfs spec_vnops.c sys/miscfs/union union_vnops.c sys/msdosfs msdosfs_vnops.c sys/nfs nfs_vnops.c sys/sys vnode.h sys/ufs/ffs ffs_alloc.c ffs_extern.h ffs_inode.c ffs_vfsops.c ffs_vnops.c sys/ufs/lfs lfs_extern.h lfs_inode.c lfs_vfsops.c lfs_vnops.c sys/ufs/mfs mfs_vnops.c sys/ufs/ufs ufs_inode.c ufs_readwrite.c ufs_vnops.c ufsmount.h Log: Another VFS cleanup "kilo commit" 1. Remove VOP_UPDATE, it is (also) an UFS/{FFS,LFS,EXT2FS,MFS} intereface function, and now lives in the ufsmount structure. 2. Remove VOP_SEEK, it was unused. 3. Add mode default vops: VOP_ADVLOCK vop_einval VOP_CLOSE vop_null VOP_FSYNC vop_null VOP_IOCTL vop_enotty VOP_MMAP vop_einval VOP_OPEN vop_null VOP_PATHCONF vop_einval VOP_READLINK vop_einval VOP_REALLOCBLKS vop_eopnotsupp And remove identical functionality from filesystems 4. Add vop_stdpathconf, which returns the canonical stuff. Use it in the filesystems. (XXX: It's probably wrong that specfs and fifofs sets this vop, shouldn't it come from the "host" filesystem, for instance ufs or cd9660 ?) 5. Try to make system wide VOP functions have vop_* names. 6. Initialize the um_* vectors in LFS. (Recompile your LKMS!!!) Revision Changes Path 1.13 +1 -1 src/sys/gnu/ext2fs/ext2_alloc.c 1.17 +1 -1 src/sys/gnu/ext2fs/ext2_extern.h 1.10 +15 -16 src/sys/gnu/ext2fs/ext2_inode.c 1.12 +1 -1 src/sys/gnu/ext2fs/ext2_readwrite.c 1.24 +1 -0 src/sys/gnu/ext2fs/ext2_vfsops.c 1.22 +1 -4 src/sys/gnu/ext2fs/ext2_vnops.c 1.45 +1 -102 src/sys/isofs/cd9660/cd9660_vnops.c 1.2 +76 -6 src/sys/kern/vfs_default.c 1.15 +1 -22 src/sys/kern/vnode_if.src 1.19 +2 -6 src/sys/miscfs/deadfs/dead_vnops.c 1.45 +2 -113 src/sys/miscfs/devfs/devfs_vnops.c 1.30 +2 -43 src/sys/miscfs/fdesc/fdesc_vnops.c 1.33 +2 -35 src/sys/miscfs/fifofs/fifo_vnops.c 1.25 +2 -57 src/sys/miscfs/kernfs/kernfs_vnops.c 1.25 +2 -42 src/sys/miscfs/portal/portal_vnops.c 1.37 +2 -63 src/sys/miscfs/procfs/procfs_vnops.c 1.48 +3 -44 src/sys/miscfs/specfs/spec_vnops.c 1.45 +1 -18 src/sys/miscfs/union/union_vnops.c 1.49 +1 -122 src/sys/msdosfs/msdosfs_vnops.c 1.68 +1 -37 src/sys/nfs/nfs_vnops.c 1.52 +12 -8 src/sys/sys/vnode.h 1.41 +2 -2 src/sys/ufs/ffs/ffs_alloc.c 1.20 +2 -2 src/sys/ufs/ffs/ffs_extern.h 1.29 +16 -17 src/sys/ufs/ffs/ffs_inode.c 1.61 +4 -3 src/sys/ufs/ffs/ffs_vfsops.c 1.36 +2 -5 src/sys/ufs/ffs/ffs_vnops.c 1.19 +2 -2 src/sys/ufs/lfs/lfs_extern.h 1.20 +13 -16 src/sys/ufs/lfs/lfs_inode.c 1.26 +6 -1 src/sys/ufs/lfs/lfs_vfsops.c 1.29 +2 -5 src/sys/ufs/lfs/lfs_vnops.c 1.26 +1 -22 src/sys/ufs/mfs/mfs_vnops.c 1.20 +2 -2 src/sys/ufs/ufs/ufs_inode.c 1.33 +2 -2 src/sys/ufs/ufs/ufs_readwrite.c 1.62 +10 -90 src/sys/ufs/ufs/ufs_vnops.c 1.12 +3 -1 src/sys/ufs/ufs/ufsmount.h