git: sys/vfs/hammer: Fix wrong node type in switch/case

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


commit 2483e5ac42137f987fd5a915657522fe49f7d624
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Aug 24 02:04:00 2015 +0900

    sys/vfs/hammer: Fix wrong node type in switch/case
    
    A node type is either internal or leaf (or deleted which
    is originally internal or leaf), but not record.
    
    A node element's btype could be internal, leaf or record,
    but hammer_print_btree_node() is passing a node type to
    this function, so cases must be either internal or leaf.
    
    hammer_print_btree_node() and hammer_print_btree_elm()
    are not used so nothing changes anyway.

Summary of changes:
 sys/vfs/hammer/hammer_btree.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2483e5ac42137f987fd5a915657522fe49f7d624


-- 
DragonFly BSD source repository



More information about the Commits mailing list