git: sys/vfs/hammer: Add HAMMER_BTREE_TYPE_NONE

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Jul 27 11:17:42 PDT 2015


commit bfbd8331c671d576a76d457561a5b87727453a29
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Jul 28 01:17:31 2015 +0900

    sys/vfs/hammer: Add HAMMER_BTREE_TYPE_NONE
    
    - No functional changes, but just makes things clearer.
    
    - root_btree_{beg|end} has 0 (not used) for btype.
      Defining a macro for it makes code clearer than
      implicitly taking care of btype by 0 or non-0.

Summary of changes:
 sbin/hammer/cmd_show.c         | 28 +++++++++++++++++++++++-----
 sys/vfs/hammer/hammer_btree.c  |  2 --
 sys/vfs/hammer/hammer_btree.h  |  1 +
 sys/vfs/hammer/hammer_vfsops.c |  2 ++
 4 files changed, 26 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list