commit f43eff17d5945f6be4e71a526acd319512c6c5d5
Author: Tomohiro Kusumi <[email protected]>
Date: Thu Dec 3 21:43:15 2015 +0900
sys/vfs/hammer: Add hammer_is_zone2|direct_mapped_index()
No functional changes.
Just makes the code a bit more readable than having bunch of
assert(zone >= 8 && zone < 16)
Summary of changes:
sbin/hammer/blockmap.c | 2 +-
sbin/hammer/cmd_blockmap.c | 5 +----
sbin/newfs_hammer/newfs_hammer.c | 5 +++--
sys/vfs/hammer/hammer.h | 2 +-
sys/vfs/hammer/hammer_blockmap.c | 14 +++++++-------
sys/vfs/hammer/hammer_disk.h | 15 ++++++++++++---
sys/vfs/hammer/hammer_ondisk.c | 18 +++++-------------
7 files changed, 30 insertions(+), 31 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f43eff17d5945f6be4e71a526acd319512c6c5d5
--
DragonFly BSD source repository