sbin/hammer: Remove alloc_data_element()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 26 Sep 2016 19:53:56 +0000 (04:53 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 6 Oct 2016 20:17:35 +0000 (05:17 +0900)
commit0519bef5e8bbeaed17d3163757183728cdee2fa8
tree99d019000f0fc51ce78ae6f79321cade7c66a886
parent4e8098b285b7d032a37652ac5df636e899408802
sbin/hammer: Remove alloc_data_element()

This function is not used by anyone, and it's normal that way.
The userspace command can't just allocate a user data alone without
other metadata getting involved.

Also note this function isn't fully functional as hammer userspace
only supports upto 16KB buffer. While this function seems to care
about large data zone, it can't handle >16KB by design (at least for now).
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c