git: sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 29 21:30:58 PDT 2016


commit 825a2db229351bed4bc88feb5fe07bd4962cd916
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Oct 29 23:53:41 2016 +0900

    sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [1/3]
    
    This is for the next few commits.
    Add a function to check size, and don't use size checks in getsize().

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 36 ++++++++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/825a2db229351bed4bc88feb5fe07bd4962cd916


-- 
DragonFly BSD source repository



More information about the Commits mailing list