sys/vfs/hammer: Cleanup sanity checks
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 21 Apr 2015 12:01:00 +0000 (21:01 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 21 Apr 2015 14:41:21 +0000 (23:41 +0900)
commit4fa5fb92edf94e3ddbbeecd94be13d3faf834b74
tree3480834b5f4f7f8b1bbc065392f52b612cc582fb
parent64df1e745ba368af5264cc66bdc028d01e46feda
sys/vfs/hammer: Cleanup sanity checks

- Move sanity checks to the beginning of the function.

- Check 'free_level > HAMMER_BIGBLOCK_SIZE'.
  free_level is somewhere between 0 and 8MB (inclusive).
sys/vfs/hammer/hammer_reblock.c