cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c msdosfs_vnops.c src/sys/fs/ntfs ntfs_vfsops.c ntfs_vnops.c src/sys/fs/smbfs smbfs_vnops.c src/sys/fs/udf udf_vfsops.c src/sys/geom geom_vfs.c src/sys/gnu/fs/ext2fs ext2_vfsops.c ext2_vnops.c ...

Yar Tikhiy yar at
Sun Feb 19 16:53:16 PST 2006

yar         2006-02-20 00:53:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/fs/msdosfs       msdosfs_vfsops.c msdosfs_vnops.c 
    sys/fs/ntfs          ntfs_vfsops.c ntfs_vnops.c 
    sys/fs/smbfs         smbfs_vnops.c 
    sys/fs/udf           udf_vfsops.c 
    sys/geom             geom_vfs.c 
    sys/gnu/fs/ext2fs    ext2_vfsops.c ext2_vnops.c 
    sys/gnu/fs/reiserfs  reiserfs_vnops.c 
    sys/isofs/cd9660     cd9660_vfsops.c cd9660_vnops.c 
    sys/nfsclient        nfs_vnops.c 
    sys/sys              vnode.h 
    sys/ufs/ufs          ufs_vfsops.c ufs_vnops.c 
    sys/vm               vnode_pager.c 
  Work around the shortness of the size argument to
  vnode_create_vobject() while preserving the binary ABI
  to filesystem modules in RELENG_6: introduce a new function
  vnode_create_vobject_off() that takes the size argument
  as off_t; move all stock file systems to it; re-implement
  the old vnode_create_vobject() using vnode_create_vobject_off()
  so that old or binary-only FS modules can work w/o hitting the
  bug.  The trick is to pass a size of 0 to vnode_create_vobject_off()
  so that it will call VOP_GETATTR() and thus get the actual,
  untruncated file size even if the calling module still uses
  the old vnode_create_vobject().
  PR:             kern/92243
  Approved by:    re (scottl)
  Revision   Changes    Path  +1 -1      src/sys/fs/msdosfs/msdosfs_vfsops.c  +1 -1      src/sys/fs/msdosfs/msdosfs_vnops.c   +1 -1      src/sys/fs/ntfs/ntfs_vfsops.c   +1 -1      src/sys/fs/ntfs/ntfs_vnops.c   +1 -1      src/sys/fs/smbfs/smbfs_vnops.c   +1 -1      src/sys/fs/udf/udf_vfsops.c    +1 -1      src/sys/geom/geom_vfs.c  +1 -1      src/sys/gnu/fs/ext2fs/ext2_vfsops.c  +1 -1      src/sys/gnu/fs/ext2fs/ext2_vnops.c    +1 -1      src/sys/gnu/fs/reiserfs/reiserfs_vnops.c  +1 -1      src/sys/isofs/cd9660/cd9660_vfsops.c  +1 -1      src/sys/isofs/cd9660/cd9660_vnops.c  +1 -1      src/sys/nfsclient/nfs_vnops.c
  1.304.2.6  +1 -0      src/sys/sys/vnode.h   +1 -1      src/sys/ufs/ufs/ufs_vfsops.c  +1 -1      src/sys/ufs/ufs/ufs_vnops.c  +23 -2     src/sys/vm/vnode_pager.c

More information about the cvs-src mailing list