DragonFly-2.3.2.136.gb9b0a master sys/kern vfs_default.c sys/sys
commit b9b0a6d05cf8d3fdabaadab7076af97ab2f154ea
Author: Matthew Dillon <dillon@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