HAMMER 26/many: More NFS support work, rename fixes
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 6 Feb 2008 00:27:27 +0000 (00:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 6 Feb 2008 00:27:27 +0000 (00:27 +0000)
commit3338773862f18f68c9f47a88eefc04a206f4bf69
treee34605e9824bf557ed1155070cacd0c9686a1059
parent513ca7d7b3b0b74c9f4482fb7f9b20550535c9af
HAMMER 26/many: More NFS support work, rename fixes

* Add a fakename return argument to vop_nlookupdotdot().  This allows HAMMER
  to supply a fake name for historical (@@<timestamp>) transitions when
  regenerating the namecache topology.  The feature is needed when operating
  as a NFS server.

* Do not mark a vnode VROOT if it is a historical root rather than the
  realtime root.  This fixes confusion the namecache has when dealing
  with the root vnode of a HAMMER filesystem.

* Fix a bug in nrename().  ino_data.parent_obj_id was not being properly
  adjusted when moving directories.
sys/kern/vfs_cache.c
sys/kern/vfs_vopops.c
sys/sys/vfsops.h