sbin/hammer: Remove unused buffer 'type' in cache
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 22 Mar 2016 19:33:32 +0000 (04:33 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 27 Mar 2016 15:43:22 +0000 (00:43 +0900)
commit19c60b7c18cf76de53a5aea35c0800a627f7d342
tree4778b52f631e825b4c32a8701ffdd4b943c60460
parent799cd71edc5262f9264aae79322029905b098b6b
sbin/hammer: Remove unused buffer 'type' in cache

HAMMER userspace cache is only used by general ondisk buffer.
Ondisk volume header doesn't use the cache structure.
Each program always has to explicitly flush ondisk volume header.

This commit removes buffer 'type' from cache structure since
'type' is always general ondisk buffer (non-volume buffer).
sbin/hammer/cache.c
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c