git: sbin/hammer: Remove redundant blockmap lookup in hammer show

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Dec 17 11:28:48 PST 2016


commit 79e1308738610e1421da5d45bd96b14dee72f628
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 17 09:34:30 2016 +0900

    sbin/hammer: Remove redundant blockmap lookup in hammer show
    
    blockmap_lookup() is called via check_data_crc() right before
    check_data_crc() gets called. This isn't necessary for checking
    data CRC either.

Summary of changes:
 sbin/hammer/cmd_show.c | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79e1308738610e1421da5d45bd96b14dee72f628


-- 
DragonFly BSD source repository



More information about the Commits mailing list