git: sbin/hammer: Fix default behavior of init_{boot, mem}_area_size()

Tomohiro Kusumi tkusumi at
Sat Oct 29 21:30:57 PDT 2016

commit ebf2c18a0d7850b0b90d2744123ed5514d72f777
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sat Oct 29 22:38:38 2016 +0900

    sbin/hammer: Fix default behavior of init_{boot,mem}_area_size()
    The default algorithm should set value to HAMMER_{BOOT,MEM}_MINBYTES
    instead of 0, if value becomes smaller than HAMMER_{BOOT,MEM}_MINBYTES.
    It originally had it like this (see f819215c), but was probably wrong.

Summary of changes:
 sbin/hammer/ondisk.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list