DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - hardlink stabilization pass


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2012 11:03:26 -0700 (PDT)

commit 92a2bc7965f166165939e272363d7b425058b032
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]