git: sbin/hammer: Refactor hammer show [1/4]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Mar 27 10:07:46 PDT 2016


commit daf400fabb7fe8189b97dc410d2c056b73423e45
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Mar 25 23:57:29 2016 +0900

    sbin/hammer: Refactor hammer show [1/4]
    
    Remove node_offset, depth, left/right bound from hammer_cmd_show()
    arguments. hammer show can only start B-Tree walk from the root of
    B-Tree, so these arguments are always -1, 0, NULLs.

Summary of changes:
 sbin/hammer/cmd_show.c | 41 +++++++++++++++++++----------------------
 sbin/hammer/hammer.c   |  3 +--
 sbin/hammer/hammer.h   |  4 +---
 3 files changed, 21 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/daf400fabb7fe8189b97dc410d2c056b73423e45


-- 
DragonFly BSD source repository


More information about the Commits mailing list