hammer2 - hardlink stabilization pass
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 May 2012 18:01:51 +0000 (11:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 May 2012 18:01:51 +0000 (11:01 -0700)
commit92a2bc7965f166165939e272363d7b425058b032
tree1e1b6351ebe260be51101111b238a82d76c641a5
parentb197a31156e7255af8d2a02fd8782c6705e84ca2
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.
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_inode.c