sbin/hammer: Initialize Hammer_FSType before any subcommand
commitf2458895708ee30cb015bb30013c114c9347add5
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 9 Mar 2016 18:20:12 +0000 (10 03:20 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 19 Mar 2016 14:52:18 +0000 (19 23:52 +0900)
treeb2856be4c415f92433fb746a68ac565c44c4ea8a
parent1ad8576688e458845b9d269923530100b1cb01b8
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.
sbin/hammer/hammer.c