commit 77ff482a4cef8783e47619af15842e57b3b8b6e0
Author: Tomohiro Kusumi <[email protected]>
Date: Thu Apr 23 02:28:05 2020 +0900
sbin/fsck_hammer2: Consider device size with less than 4 zones
Unlike HAMMER1 which had volume size requirement, HAMMER2 allows
creation of small filesystem without having 4 zones for volume headers.
Make fsck_hammer2 also consider that, otherwise segfaults if the
device has less than 4 zones.
Summary of changes:
sbin/fsck_hammer2/test.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/77ff482a4cef8783e47619af15842e57b3b8b6e0
--
DragonFly BSD source repository