git: sys/vfs/hammer: Add hammer_elm_btype()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Sep 4 10:57:30 PDT 2015
commit c3378ec7b1023e8a510ab3435c7134c1e9e9d6ff
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Aug 25 03:50:49 2015 +0900
sys/vfs/hammer: Add hammer_elm_btype()
Considered useful to get rid of (cond ? ascii : '?')
that exists only to print '?' for non-ascii error cases.
Also note that btype==0 isn't necessary an unknown type
since root_btree_beg|end use 0.
Summary of changes:
sbin/hammer/cmd_show.c | 18 +-----------------
sys/vfs/hammer/hammer_btree.c | 15 ++++++---------
sys/vfs/hammer/hammer_btree.h | 17 +++++++++++++++++
sys/vfs/hammer/hammer_cursor.c | 3 +--
4 files changed, 25 insertions(+), 28 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3378ec7b1023e8a510ab3435c7134c1e9e9d6ff
--
DragonFly BSD source repository
More information about the Commits
mailing list