git: sys/vfs/hammer: Cleanup CRC functions

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Jul 5 16:07:15 PDT 2018


commit 9545e52d6402b584c9013f8d4a5d05f6f43398e8
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Jul 4 22:44:02 2018 -0700

    sys/vfs/hammer: Cleanup CRC functions
    
    The inner cmp in nested `vol_version >= HAMMER_VOL_VERSION_SEVEN`
    conditional in hammer_crc_test_xxx() mostly get optimized out by gcc,
    so not much reason to have __hammer_crc_get_xxx() in case of retry
    using old CRC.

Summary of changes:
 sys/vfs/hammer/hammer_crc.h | 80 ++++++++-------------------------------------
 1 file changed, 14 insertions(+), 66 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9545e52d6402b584c9013f8d4a5d05f6f43398e8


-- 
DragonFly BSD source repository



More information about the Commits mailing list