git: DragonFly_RELEASE_2_8 kernel - Force NFSv3 for diskless nfs mount

Matthew Dillon dillon at
Sun Oct 24 09:38:31 PDT 2010

commit 49adb6c748d3c692fedafe145ffec6413f741019
Author: Matthew Dillon <dillon at>
Date:   Tue Oct 19 12:31:29 2010 -0700

    kernel - Force NFSv3 for diskless nfs mount
    * Ignore any file handles passed from bootp.  These are NFSv2 handles
      and NFSv2 just doesn't have the directory support needed if the
      server is running a filesystem with 64-bit directory cookies (as HAMMER
      This will force the kernel's diskless nfs mount to re-authorize and
      acquire a NFSv3 handle for the root mount.
    * Undo a bit of a previous commit where I tried to enable readdirplus for
      NFSv2 to workaround NFSv2 directory cookie issues.  It just doesn't work.
      readdirplus is again force-disabled for NFSv2 mounts.

Summary of changes:
 sys/vfs/nfs/nfs_vfsops.c |   55 ++++++++++++++++++++++++++++++----------------
 sys/vfs/nfs/nfs_vnops.c  |    2 +-
 2 files changed, 37 insertions(+), 20 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list