git: sys/vfs/hammer2: Make fchain/vchain dump on last drop consistent

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 15 00:37:40 PDT 2022


commit 12757b74e26bd9c7a8c76c9e211ff3192ef396b5
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Thu Oct 13 01:10:05 2022 -0700

    sys/vfs/hammer2: Make fchain/vchain dump on last drop consistent
    
    fchain/vchain are both non kmalloc'd chains, but hammer2_dump_chain()
    should be called either before or after last drop for both.
    
    It currently results in showing inconsistent refs (0 and 1).

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12757b74e26bd9c7a8c76c9e211ff3192ef396b5


-- 
DragonFly BSD source repository


More information about the Commits mailing list