sbin/hammer: add get_ondisk()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 3 Feb 2015 20:31:46 +0000 (05:31 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 14 Feb 2015 19:38:08 +0000 (04:38 +0900)
commit24dd58053d0c5202c7072e4a7b9cca0f3aae5a14
tree1b1d00c7382d6420f94e11beeee3f5526d34efef
parentcb5feafec34e5d1ffa577c296e10a4ceafc0cf4f
sbin/hammer: add get_ondisk()

- Cleanup get_buffer_data() and get_node() using a new inline function
  get_ondisk(). These two actually do the same thing except for the way
  they release an existing buffer (--ref and eventually free it).

- from Submit #2783
sbin/hammer/ondisk.c