commit fac8cad69021402ba80df45825e7b057f6304833
Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com>
Date:   Sat Jul 18 16:32:04 2015 +0900

    sbin/newfs_hammer: Minor fixes
    
    - It's better to call rel_volume() for the root volume here
      without waiting for potential non-root ones to do it as
      they all modifies the root volume.
    
    - Also add assertions to ensure a caller calls this function
      for the root volume first, and then non-root volumes.
      (non-root volumes do += to these volume statistics)

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fac8cad69021402ba80df45825e7b057f6304833


-- 
DragonFly BSD source repository

Reply via email to