git: sys/vfs/hammer: Change HAMMER_VOLUME_NUMBER_XXX macros to inline functions

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Sep 6 06:35:24 PDT 2016


commit 75e4d787861504e083f572d48305f9f2b450d270
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Sep 6 19:56:44 2016 +0900

    sys/vfs/hammer: Change HAMMER_VOLUME_NUMBER_XXX macros to inline functions
    
    I've added these macros in 78249d7f in 2015 for a bug fix,
    but these macros should have been inline functions.
    Not very readable.

Summary of changes:
 sys/vfs/hammer/hammer.h        | 51 +++++++++++++++++++++++++++++-------------
 sys/vfs/hammer/hammer_ondisk.c |  4 ++--
 sys/vfs/hammer/hammer_volume.c |  2 +-
 3 files changed, 39 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75e4d787861504e083f572d48305f9f2b450d270


-- 
DragonFly BSD source repository


More information about the Commits mailing list