hammer2 - stabilization, fix delete-on-reclaim
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Dec 2018 23:35:31 +0000 (15:35 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Dec 2018 23:35:31 +0000 (15:35 -0800)
commit14fa05a6922c0c9df3fb5ae49fcaae65c1d299cc
tree02c332f755885453eceee37106442a7d6294ef58
parent8a697a22391bbafe215fab92a6cb29ed3a1f6edf
hammer2 - stabilization, fix delete-on-reclaim

* Fix the delete-on-reclaim code which had been commented out
  temporarily during the prior work.  Restore and cleanup the
  code.

  This code handles deleting inodes for files which were unlinked
  (nlinks count -> 0) but still had open descriptors.

* Fixes inode leak in df output and on the media.
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_vnops.c