commit 0ad9354038be3d9c338ed2117144934e633a7312 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Jul 14 20:48:25 2015 +0900
sbin/hammer: Remove unnecessary zone encoding - This zone encoding isn't necessary since *result_offp is already 'zone' offset. HAMMER_ZONE_ENCODE() only cuts off zone bits from *result_offp and then |= with 'zone' for zone bits, which results the same as *result_offp. - Also the name of the local variable 'zone2_offset' should have been 'zoneX_offset' since zone depends on what the 'zone' value is. Summary of changes: sbin/hammer/ondisk.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ad9354038be3d9c338ed2117144934e633a7312 -- DragonFly BSD source repository