DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_fp.c kern_subr.c vfs_default.c vfs_lock.c vfs_subr.c vfs_syscalls.c vfs_vnops.c src/sys/sys vnode.h src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/vfs/coda coda_vnops.c src/sys/vfs/deadfs dead_vnops.c ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Apr 2006 12:46:54 -0800 (PST)

dillon      2006/04/01 12:46:54 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_fp.c kern_subr.c vfs_default.c 
                         vfs_lock.c vfs_subr.c vfs_syscalls.c 
                         vfs_vnops.c 
    sys/sys              vnode.h 
    sys/emulation/linux/i386/linprocfs linprocfs_vnops.c 
    sys/vfs/coda         coda_vnops.c 
    sys/vfs/deadfs       dead_vnops.c 
    sys/vfs/fdesc        fdesc_vnops.c 
    sys/vfs/fifofs       fifo_vnops.c 
    sys/vfs/gnu/ext2fs   ext2_vfsops.c 
    sys/vfs/hpfs         hpfs_vnops.c 
    sys/vfs/isofs/cd9660 cd9660_vnops.c 
    sys/vfs/mfs          mfs_vfsops.c mfs_vnops.c 
    sys/vfs/msdosfs      msdosfs_vnops.c 
    sys/vfs/nfs          nfs_vnops.c 
    sys/vfs/ntfs         ntfs_vnops.c 
    sys/vfs/nwfs         nwfs_vnops.c 
    sys/vfs/portal       portal_vnops.c 
    sys/vfs/procfs       procfs_vnops.c 
    sys/vfs/smbfs        smbfs_vnops.c 
    sys/vfs/specfs       spec_vnops.c 
    sys/vfs/ufs          ffs_vfsops.c ufs_vnops.c 
    sys/vfs/union        union_subr.c 
  Log:
  Use the vnode v_opencount and v_writecount universally.  They were previously
  only used by specfs.  Require that VOP_OPEN and VOP_CLOSE calls match.
  Assert on boundary errors.
  
  Clean up umount's FORCECLOSE mode.  Adjust deadfs to allow duplicate closes
  (which can happen due to a forced unmount or revoke).
  
  Add vop_stdopen() and vop_stdclose() and adjust the default vnode ops to
  call them.  All VFSs except DEADFS which supply their own vop_open and
  vop_close now call vop_stdopen() and vop_stdclose() to handle v_opencount
  and v_writecount adjustments.
  
  Change the VOP_OPEN/fp specs.  VOP_OPEN (aka vop_stdopen) is now responsible
  for filling in the file pointer information, rather than the caller of
  VOP_OPEN.  Additionally, when supplied a file pointer, VOP_OPEN is now
  allowed to populate the file pointer with a different vnode then the one
  passed to it, which will be used later on to allow filesystems which
  synthesize different vnodes on open, for example so we can create a generic
  tty/pty pairing devices rather than scanning for an unused pty, and so we
  can create swap-backed generic anonymous file descriptors rather than having
  to use /tmp.  And for other purposes as well.
  
  Fix UFS's mount/remount/unmount code to make the proper VOP_OPEN and
  VOP_CLOSE calls when a filesystem is remounted read-only or read-write.
  
  Revision  Changes    Path
  1.14      +1 -10     src/sys/kern/kern_fp.c
  1.21      +1 -1      src/sys/kern/kern_subr.c
  1.32      +63 -2     src/sys/kern/vfs_default.c
  1.13      +1 -0      src/sys/kern/vfs_lock.c
  1.74      +17 -11    src/sys/kern/vfs_subr.c
  1.80      +2 -15     src/sys/kern/vfs_syscalls.c
  1.37      +4 -14     src/sys/kern/vfs_vnops.c
  1.46      +2 -3      src/sys/sys/vnode.h
  1.28      +3 -5      src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
  1.33      +16 -8     src/sys/vfs/coda/coda_vnops.c
  1.16      +21 -0     src/sys/vfs/deadfs/dead_vnops.c
  1.25      +1 -1      src/sys/vfs/fdesc/fdesc_vnops.c
  1.25      +5 -2      src/sys/vfs/fifofs/fifo_vnops.c
  1.34      +9 -1      src/sys/vfs/gnu/ext2fs/ext2_vfsops.c
  1.31      +0 -54     src/sys/vfs/hpfs/hpfs_vnops.c
  1.22      +1 -1      src/sys/vfs/isofs/cd9660/cd9660_vnops.c
  1.27      +3 -1      src/sys/vfs/mfs/mfs_vfsops.c
  1.23      +5 -3      src/sys/vfs/mfs/mfs_vnops.c
  1.33      +2 -2      src/sys/vfs/msdosfs/msdosfs_vnops.c
  1.54      +2 -1      src/sys/vfs/nfs/nfs_vnops.c
  1.28      +2 -2      src/sys/vfs/ntfs/ntfs_vnops.c
  1.26      +16 -10    src/sys/vfs/nwfs/nwfs_vnops.c
  1.26      +2 -1      src/sys/vfs/portal/portal_vnops.c
  1.29      +3 -3      src/sys/vfs/procfs/procfs_vnops.c
  1.27      +10 -6     src/sys/vfs/smbfs/smbfs_vnops.c
  1.34      +7 -6      src/sys/vfs/specfs/spec_vnops.c
  1.38      +25 -8     src/sys/vfs/ufs/ffs_vfsops.c
  1.38      +2 -2      src/sys/vfs/ufs/ufs_vnops.c
  1.22      +0 -3      src/sys/vfs/union/union_subr.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fp.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_subr.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.73&r2=1.74&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.79&r2=1.80&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vnops.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/deadfs/dead_vnops.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fifofs/fifo_vnops.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vfsops.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vnops.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vnops.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/mfs/mfs_vfsops.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/mfs/mfs_vnops.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vnops.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vnops.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vnops.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vnops.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/specfs/spec_vnops.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vfsops.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_subr.c.diff?r1=1.21&r2=1.22&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]