sbin/hammer: Rename alloc_btree_element() to alloc_btree_node()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 26 Sep 2016 01:22:50 +0000 (10:22 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 6 Oct 2016 20:17:35 +0000 (05:17 +0900)
commit73eb8826d5aeb338045fe64ec37fb25ba0ec115a
treebfae263a8c9db47cacc7d4fb6263ed14d5a3280f
parent22b23697054400f59703e2cb16ce000a04661880
sbin/hammer: Rename alloc_btree_element() to alloc_btree_node()

Make it clear that it's allocating a 4KB node, but not elm part.
Also change return type to hammer_node_ondisk_t.
Don't need to cast to void* on returning.
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c
sbin/newfs_hammer/newfs_hammer.c