sys/vfs/hammer: Cleanup volume-add|del ioctl [1/3]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 16 Aug 2015 11:30:29 +0000 (20:30 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 17 Aug 2015 14:59:24 +0000 (23:59 +0900)
commitcb9ee493e8270dfbcd186292436b4f45c1a3a5e4
tree027ef97c7634288fb6013155bd71c857d7abf0a0
parentdeabdbfb46b4b6d2e766d83ec8fb97958fedc38b
sys/vfs/hammer: Cleanup volume-add|del ioctl [1/3]

This commit is 1/3 of a series of commits that extract
common procedures on updating volumes header into a function.

Reordering hammer_format_freemap() and updating volume count
doesn't affect behavior of volume-add since it's independent
of each other. Also note that these all must succeed anyway
as assertions show.
sys/vfs/hammer/hammer_volume.c