sys/vfs/hammer: Make use of volume bitmap
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 4 Aug 2015 10:29:14 +0000 (19:29 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 8 Aug 2015 17:32:24 +0000 (02:32 +0900)
commit046789c4d11059356fc71836ddb86bc1821ce061
treedbf7076c7be28225988f5136453d212978780cd1
parent78249d7f7c218296742a9f9c46fa094704306a4d
sys/vfs/hammer: Make use of volume bitmap

Make use of macros for volume bitmaps that was added in the
previous commit to fix mount issue.

With HAMMER_VOLUME_NUMBER_FOREACH(), hammer_get_volume() is
used only against volumes currently exist, so the function
shouldn't fail but keep null-check anyway.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_volume.c