git: sbin/hammer: Use inline CRC functions in userspace

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


commit 4564396607ddbe09b2e35670c46054c9222300d4
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Sep 5 23:45:34 2016 +0900

    sbin/hammer: Use inline CRC functions in userspace
    
    Remove crc32 prototypes in sbin/hammer/hammer_util.h.
    Remove hammer_crc_test_leaf() which is a copy-pasted function
    from kernel code.

Summary of changes:
 sbin/hammer/blockmap.c           |  8 ++++----
 sbin/hammer/cmd_blockmap.c       |  8 +++-----
 sbin/hammer/cmd_mirror.c         | 11 +++--------
 sbin/hammer/cmd_recover.c        |  2 +-
 sbin/hammer/cmd_show.c           |  4 ++--
 sbin/hammer/hammer_util.h        |  6 +-----
 sbin/hammer/misc.c               | 22 ----------------------
 sbin/hammer/ondisk.c             | 18 ++++++++----------
 sbin/newfs_hammer/newfs_hammer.c |  6 +++---
 9 files changed, 25 insertions(+), 60 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4564396607ddbe09b2e35670c46054c9222300d4


-- 
DragonFly BSD source repository



More information about the Commits mailing list