git: sbin/hammer2: Assert bytes > 0 for inode/indirect in "show"/"freemap"

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 2 08:50:06 PDT 2019


commit ae2f457fb47e33bfdf443f4c317476ee6a47bf48
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Oct 2 07:50:37 2019 +0900

    sbin/hammer2: Assert bytes > 0 for inode/indirect in "show"/"freemap"
    
    `bytes` must not be 0 for blockref types which refer to data.

Summary of changes:
 sbin/hammer2/cmd_debug.c | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ae2f457fb47e33bfdf443f4c317476ee6a47bf48


-- 
DragonFly BSD source repository



More information about the Commits mailing list