sbin/hammer: Add __alloc_buffer() to refactor get_buffer()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 14 Dec 2016 01:43:34 +0000 (10:43 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 14 Dec 2016 16:23:02 +0000 (01:23 +0900)
commita8abc07e106c931dcb1f2a1ef09ce80b6843107d
tree820b13a0b4b953bd3e2466d9f3553b20471dd1d3
parentaf78dcb9f57aa86636efbdc3e4b5795577ed153e
sbin/hammer: Add __alloc_buffer() to refactor get_buffer()

No functional difference, but this should make more sense than
how get_buffer() (which is one of the complicated functions in
HAMMER userspace) was implemented before.

After the previous commit, volume_info* doesn't need to be
visible to get_buffer().
sbin/hammer/ondisk.c