hammer2 - bulkfree now validates bigmask
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2021 01:41:54 +0000 (18:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2021 01:41:54 +0000 (18:41 -0700)
commit691854bd1e2bd147839e7f5328aaf01ed68df3a7
treedc8f5c3d079ae1ceda3d73457cebc7c900a35fab
parentc4fd5af375974821670233b2e5961ea876cf41de
hammer2 - bulkfree now validates bigmask

* bulkfree now validates that the roll-up bigmask is reasonable
  and adjusts it if it is not.

* Add vfs.hammer2.aux_flags and implement a bigmask override with
  it that, if set, forces bigmask to -1 in the bulkfree.  Should
  not be needed now that bulkfree validates the field.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_bulkfree.c
sys/vfs/hammer2/hammer2_vfsops.c