git: sbin/hammer: Cleanup get_buf_crc() after 965831f0
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sat Apr 15 13:33:06 PDT 2017
commit 2bcf3d94a428176f511dcc26ab53f66f1a56e975
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Apr 15 17:25:21 2017 +0300
sbin/hammer: Cleanup get_buf_crc() after 965831f0
Make get_buf_crc() look the same as get_inode_crc().
This is much more readable with slightly more overhead to go through
a while loop twice (at most where each loop may continue max 4 times).
Summary of changes:
sbin/hammer/cmd_show.c | 43 +++++++++++++++++++++++++++++++------------
1 file changed, 31 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2bcf3d94a428176f511dcc26ab53f66f1a56e975
--
DragonFly BSD source repository
More information about the Commits
mailing list