git: sys/vfs/hammer: Simplify hammer_print_btree_elm()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Sep 4 10:57:30 PDT 2015


commit a17eeab0da8d65a37f139642b91e2fede4021048
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Aug 24 01:52:30 2015 +0900

    sys/vfs/hammer: Simplify hammer_print_btree_elm()
    
    Given that the purpose of hammer_print_btree_elm()
    is to print a node elm info that points to a node
    (but not a node info that contains the node elm),
    it's better not to have any external info such as
    node type and elm index as a part of arguments.

Summary of changes:
 sys/vfs/hammer/hammer.h       |  2 +-
 sys/vfs/hammer/hammer_btree.c | 42 +++++++++++++++++++-----------------------
 2 files changed, 20 insertions(+), 24 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list