git: sys/vfs/hammer: Add HAMMER_ITOB() macro

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Nov 6 07:07:58 PST 2015


commit 195f60760775c2a80599ff3320391adcd9442a31
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Nov 3 23:25:40 2015 +0900

    sys/vfs/hammer: Add HAMMER_ITOB() macro
    
    to hide explicit cast from C code so the impact will be small
    on possible data structure change. No change in binary.

Summary of changes:
 sys/vfs/hammer/hammer.h         | 2 ++
 sys/vfs/hammer/hammer_flusher.c | 6 +++---
 sys/vfs/hammer/hammer_io.c      | 6 +++---
 sys/vfs/hammer/hammer_undo.c    | 2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/195f60760775c2a80599ff3320391adcd9442a31


-- 
DragonFly BSD source repository



More information about the Commits mailing list