git: hammer2 hammer2 - hardlink stabilization pass

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 17 11:03:26 PDT 2012


commit 92a2bc7965f166165939e272363d7b425058b032
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu May 17 11:01:51 2012 -0700

    hammer2 - hardlink stabilization pass
    
    * Fix infinite loop in hammer2_chain_create_indirect() related to the
      case where the key range is the full 64 bits, which can occur when
      invisible hardlink entries are mixed in with normal entries.
    
    * Fix the nlinks count in a couple of places.
    
    * Don't iterate invisibile directory entries.  Lookups of hardlink targets
      by inode number are absolute.  Normal directory entries have a collision
      counter, hardlink targets do not.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c |    2 ++
 sys/vfs/hammer2/hammer2_inode.c |   32 +++++++++++++++++++++-----------
 2 files changed, 23 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92a2bc7965f166165939e272363d7b425058b032


-- 
DragonFly BSD source repository





More information about the Commits mailing list