git: sbin/hammer: Initialize Hammer_FSType before any subcommand

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


commit f2458895708ee30cb015bb30013c114c9347add5
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Mar 10 03:20:12 2016 +0900

    sbin/hammer: Initialize Hammer_FSType before any subcommand
    
    Ondisk volume header fstype uuid is always compared with the
    global variable Hammer_FSType uuid whenever volume information
    is read from the existing HAMMER volume. Then Hammer_FSType
    should be initialized before any hammer command starts whether
    each subcommand actually reads from the HAMMER volumes or not.

Summary of changes:
 sbin/hammer/hammer.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list