git: sys/vfs/hammer: Use MIN/MAX macros for B-Tree node's elm base

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 12 07:12:18 PDT 2016


commit 9615af8043276961bfa23bb463d279924953db79
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Oct 11 23:40:45 2016 +0900

    sys/vfs/hammer: Use MIN/MAX macros for B-Tree node's elm base
    
    Leave obj_type with 0 instead of using HAMMER_OBJTYPE_UNKNOWN,
    since it's not intended to be unknown, but literally intended
    to be a value of 0.

Summary of changes:
 sbin/hammer/cmd_show.c         | 14 +++++++-------
 sbin/hammer/misc.c             |  2 ++
 sys/vfs/hammer/hammer_inode.c  |  2 +-
 sys/vfs/hammer/hammer_object.c |  2 +-
 sys/vfs/hammer/hammer_vfsops.c | 14 +++++++-------
 sys/vfs/hammer/hammer_vnops.c  |  6 +++---
 6 files changed, 21 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9615af8043276961bfa23bb463d279924953db79


-- 
DragonFly BSD source repository


More information about the Commits mailing list