git: sys/vfs/hammer2: Fix hammer2_chain_allocs calculation

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Feb 19 09:47:34 PST 2022


commit 263688eb126867928a2c8f7672a81c5bb53f63f6
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Feb 19 02:12:38 2022 +0900

    sys/vfs/hammer2: Fix hammer2_chain_allocs calculation
    
    This counter should be decremented on freeing chains.
    Currently it gets incremented on chain allocation,
    but only decremented via bulkfree path.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/263688eb126867928a2c8f7672a81c5bb53f63f6


-- 
DragonFly BSD source repository


More information about the Commits mailing list