git: sbin/fsck_hammer2: Consider device size with less than 4 zones

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Apr 22 11:37:32 PDT 2020


commit 77ff482a4cef8783e47619af15842e57b3b8b6e0
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
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



More information about the Commits mailing list