sbin/hammer: Fix default behavior of init_{boot,mem}_area_size()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 29 Oct 2016 13:38:38 +0000 (22:38 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 30 Oct 2016 03:31:12 +0000 (12:31 +0900)
commitebf2c18a0d7850b0b90d2744123ed5514d72f777
tree0457e8a51f40db64cc43e2415d4106d26886266b
parent74087558dc729430e36e8cc79542e3e23aac407b
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.
sbin/hammer/ondisk.c