git: sys/vfs/hammer: Cleanup CRC functions

Tomohiro Kusumi tkusumi at
Thu Jul 5 16:07:15 PDT 2018

commit 9545e52d6402b584c9013f8d4a5d05f6f43398e8
Author: Tomohiro Kusumi <kusumi.tomohiro at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list