git: sbin/newfs_hammer: Add missing buffer refcount--

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Mar 28 09:30:51 PDT 2016


commit 191b971e11d2c38cd8c4fa0c9987e102b8215f89
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Mar 29 01:01:28 2016 +0900

    sbin/newfs_hammer: Add missing buffer refcount--
    
    All remaining buffers (buffers didn't get kicked out by cache
    mechanism) when the program exits should have 0 for refs.
    These were remaining ones with refs 1(btree) and 2(inode/pfsd).

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 4 ++++
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/191b971e11d2c38cd8c4fa0c9987e102b8215f89


-- 
DragonFly BSD source repository


More information about the Commits mailing list