git: sbin/hammer: Use existing macro to encode zone2 address

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Apr 29 11:12:14 PDT 2015


commit 06638ac6fd1ff90a5316f4c00bc659935d5b7f98
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Apr 30 01:25:04 2015 +0900

    sbin/hammer: Use existing macro to encode zone2 address
    
    - Use HAMMER_ENCODE_RAW_BUFFER().
    
    - Using this macro should always be better in the sense that it
      properly masks the input offset (clears zone and volume bits).

Summary of changes:
 sbin/hammer/ondisk.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/06638ac6fd1ff90a5316f4c00bc659935d5b7f98


-- 
DragonFly BSD source repository



More information about the Commits mailing list