git: sys/vfs/hammer: Rename misleading macro hammer_is_zone2_mapped_index()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sat Dec 17 11:28:48 PST 2016
commit f6d29b27491ba551e2a3365ed684a10f4b3b804e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Dec 17 19:27:38 2016 +0900
sys/vfs/hammer: Rename misleading macro hammer_is_zone2_mapped_index()
All zones are mapped to zone2 (whether directly or indirectly),
so hammer_is_zone2_mapped_index() is a misleading name.
It should have indicated it's for B-Tree records related zones.
Summary of changes:
sbin/hammer/blockmap.c | 14 +++++++++-----
sbin/hammer/cmd_blockmap.c | 2 +-
sbin/hammer/cmd_strip.c | 2 +-
sbin/hammer/ondisk.c | 2 +-
sbin/newfs_hammer/newfs_hammer.c | 2 +-
sys/vfs/hammer/hammer.h | 3 +--
sys/vfs/hammer/hammer_blockmap.c | 14 +++++++-------
sys/vfs/hammer/hammer_disk.h | 20 ++++++++++----------
sys/vfs/hammer/hammer_io.c | 3 +--
sys/vfs/hammer/hammer_ondisk.c | 6 ++----
10 files changed, 34 insertions(+), 34 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6d29b27491ba551e2a3365ed684a10f4b3b804e
--
DragonFly BSD source repository
More information about the Commits
mailing list