git: sbin/hammer: Minor fix for format_blockmap()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Mar 19 14:27:42 PDT 2016


commit 5dca51be0270912769e006dda375e5e4ea63df9e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Mar 8 00:34:15 2016 +0900

    sbin/hammer: Minor fix for format_blockmap()
    
    Take *vol instead of blockmap for the first argument.
    Properly set modified flag to 1 (no actual change since newfs_hammer
    should have already set it to 1 via format_freemap()).
    Add assertion.
    Locate this function right above format_freemap().

Summary of changes:
 sbin/hammer/hammer_util.h        |  2 +-
 sbin/hammer/ondisk.c             | 44 ++++++++++++++++++++++++----------------
 sbin/newfs_hammer/newfs_hammer.c |  2 +-
 3 files changed, 29 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dca51be0270912769e006dda375e5e4ea63df9e


-- 
DragonFly BSD source repository



More information about the Commits mailing list