git: sys/vfs/hammer: Add HAMMER_ZONE_LAYER2_NEXT_OFFSET()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Nov 9 06:32:43 PST 2016


commit c4e15ea850b518a208c0d806568787d5faa5b175
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Nov 9 22:06:18 2016 +0900

    sys/vfs/hammer: Add HAMMER_ZONE_LAYER2_NEXT_OFFSET()
    
    Note that this is different from HAMMER_BLOCKMAP_LAYER2_OFFSET().
    HAMMER_BLOCKMAP_LAYER2_OFFSET() is an offset of layer2 entry within
    a big-block for layer2, but not zone offset itself.

Summary of changes:
 sbin/hammer/blockmap.c           | 4 ++--
 sys/vfs/hammer/hammer_blockmap.c | 6 ++----
 sys/vfs/hammer/hammer_disk.h     | 3 +++
 3 files changed, 7 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c4e15ea850b518a208c0d806568787d5faa5b175


-- 
DragonFly BSD source repository


More information about the Commits mailing list