sys/vfs/hammer: Remove union hammer_io_structure
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 7 Dec 2015 12:19:52 +0000 (21:19 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 7 Dec 2015 17:41:52 +0000 (02:41 +0900)
commitff66f880ec08c2ec4d8cc89211dd59e8220b9d11
tree9f97a3f55c387e5bcb7d434ed21dcc8386aa3929
parent64364b9b49461163c9cdbade4279c244bcb6802f
sys/vfs/hammer: Remove union hammer_io_structure

Remove union hammer_io_structure that was added in the early
stage of hammer development. This has been used in a certain
part of hammer_io.c, but the code is more clear without this.

Using the existing HAMMER_ITOB() as well as a newly added
HAMMER_ITOV() makes the code less complicated than using this
union.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_io.c