sbin/hammer: Remove modified1 flag
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 18 Jul 2015 06:57:31 +0000 (15:57 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 18 Jul 2015 17:54:03 +0000 (02:54 +0900)
commit963edea72368c08668ba9c074a0309c2b06274fb
tree36e2ce20e33167325a02f5c159a97c29c06fcb0d
parent7a38cb151f1998ec293023c0ca0a95ac6ed894c0
sbin/hammer: Remove modified1 flag

- modified1 isn't necessary and also the code is clearer without
  this flag.

- Once layer1 big-block is initialized, the only thing allocator
  has to do to layer1 is ++ or -- layer1->blocks_free and update
  crc. So it's better to just update crc whenever layer1->blocks_free
  got ++ or --.
sbin/hammer/ondisk.c