git: DragonFly_RELEASE_5_0 hammer - Partial MFC critical pfs/snapshot fix

Matthew Dillon dillon at
Sat Mar 17 08:45:53 PDT 2018

commit db037feee6aaa98dca863e2e8d8cb62b8b0a5671
Author: Matthew Dillon <dillon at>
Date:   Sat Mar 17 08:44:16 2018 -0700

    hammer - Partial MFC critical pfs/snapshot fix
    * Do not clear HAMMER2_BREF_FLAG_PFSROOT in the chain when the caller
      fails to specify HAMMER2_INSERT_PFSROOT to hammer2_chain_create().
      Ensures that the flag remains set when e.g. PFS root inodes get
      moved around due to indirect blocks.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list