sbin/hammer: Fix boundary check
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 15 Jul 2015 17:45:41 +0000 (02:45 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 17 Jul 2015 16:36:07 +0000 (01:36 +0900)
commit1bda0b52a2188ce1adefe6530241de89ebb48fc4
tree5b04db07140b3bd24f1e90c85e83d69cfcc10366
parent6fdd989a6f172aa48cb67f9ea3621cc2923de159
sbin/hammer: Fix boundary check

- It should be (next_offset + bytes - 1).

- alloc_blockmap() has only been used by newfs_hammer for root
  inode, btree root node, and pfs0 metadata, and these don't
  cross 16KB boundary so there hasn't been any issue.
sbin/hammer/ondisk.c