sbin/hammer: Add assert_volume_offset()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 3 Sep 2016 03:19:32 +0000 (12:19 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 3 Sep 2016 03:33:32 +0000 (12:33 +0900)
commit9221b5983f165c1cf10be28424138e02a1788207
treea52fe5318486324526092e23501f06c44e6844de
parent27242c33963bfcfd2b1ffb731fe2a89684a98537
sbin/hammer: Add assert_volume_offset()

It's invalid to call functions that are based on vol_free_off/end
values unless these are properly initialized with zone-2 offsets.
sbin/hammer/blockmap.c
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c