DragonFly-2.3.2.136.gb9b0a master sys/kern vfs_default.c sys/sys mount.h sys/vfs/gnu/ext2fs ext2_alloc.c ext2_lookup.c ext2_vfsops.c ext2_vnops.c sys/vfs/hammer hammer_vfsops.c sys/vfs/hpfs hpfs_subr.c hpfs_vfsops.c hpfs_vnops.c sys/vfs/isofs/cd9660 cd9660_vfsops.c sys/vfs/nfs nfs_serv.c sys/vfs/ntfs ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c sys/vfs/udf udf.h udf_vfsops.c udf_vnops.c sys/vfs/ufs ffs_alloc.c ffs_extern.h ffs_softdep.c ffs_vfsops.c ufs_lookup.c ufs_vfsops.c ufs_vnops.c sys/vfs/userfs userfs.h userfs_inode.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 22 22:07:00 PDT 2009


commit b9b0a6d05cf8d3fdabaadab7076af97ab2f154ea
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 22 22:00:13 2009 -0700

    HAMMER / VFS_VGET - Add optional dvp argument to VFS_VGET().  Fix readdirplus
    
    * VGET is used by NFS to acquire a vnode given an inode number.  HAMMER
      requires additional information to determine the PFS the inode is being
      acquired from.
    
      Add an optional directory vnode argument to the VGET.  If non-NULL, HAMMER
      will extract the PFS information from this vnode.
    
    * Adjust NFS to pass the dvp to VGET when doing a readdirplus.
    
      Note that the PFS is already encoded in file handles, but readdirplus
      acquires the attributes for each directory entry it scans (readdir does
      not).  This fixes readdirplus for NFS served HAMMER PFS exports.

Summary of changes:
 sys/kern/vfs_default.c               |    2 +-
 sys/sys/mount.h                      |    5 +++--
 sys/vfs/gnu/ext2fs/ext2_alloc.c      |    2 +-
 sys/vfs/gnu/ext2fs/ext2_lookup.c     |   10 +++++-----
 sys/vfs/gnu/ext2fs/ext2_vfsops.c     |    8 ++++----
 sys/vfs/gnu/ext2fs/ext2_vnops.c      |    2 +-
 sys/vfs/hammer/hammer_vfsops.c       |   26 ++++++++++++++++++++------
 sys/vfs/hpfs/hpfs_subr.c             |    6 +++---
 sys/vfs/hpfs/hpfs_vfsops.c           |   10 +++++-----
 sys/vfs/hpfs/hpfs_vnops.c            |    4 ++--
 sys/vfs/isofs/cd9660/cd9660_vfsops.c |    6 +++---
 sys/vfs/nfs/nfs_serv.c               |    4 ++--
 sys/vfs/ntfs/ntfs_subr.c             |    2 +-
 sys/vfs/ntfs/ntfs_vfsops.c           |   16 +++++++++-------
 sys/vfs/ntfs/ntfs_vnops.c            |    2 +-
 sys/vfs/udf/udf.h                    |    2 +-
 sys/vfs/udf/udf_vfsops.c             |    6 +++---
 sys/vfs/udf/udf_vnops.c              |    2 +-
 sys/vfs/ufs/ffs_alloc.c              |    2 +-
 sys/vfs/ufs/ffs_extern.h             |    2 +-
 sys/vfs/ufs/ffs_softdep.c            |   11 ++++++-----
 sys/vfs/ufs/ffs_vfsops.c             |    2 +-
 sys/vfs/ufs/ufs_lookup.c             |   11 ++++++-----
 sys/vfs/ufs/ufs_vfsops.c             |    4 ++--
 sys/vfs/ufs/ufs_vnops.c              |    2 +-
 sys/vfs/userfs/userfs.h              |    3 ++-
 sys/vfs/userfs/userfs_inode.c        |    3 ++-
 27 files changed, 88 insertions(+), 67 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b9b0a6d05cf8d3fdabaadab7076af97ab2f154ea


-- 
DragonFly BSD source repository





More information about the Commits mailing list