commit db7b497cbdd6eb264cf2ab90bb8be82d361f34cd Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Wed Dec 23 16:06:53 2015 +0900
sbin/hammer: Remove global variable NumVolumes Only newfs_hammer uses this, but doesn't need to be global. (Keeping a number of volumes isn't that important either, because it can be retrieved directly from volume headers or by counting the number of elements in the volume_info list) Summary of changes: sbin/hammer/hammer.c | 3 --- sbin/hammer/hammer_util.h | 1 - sbin/hammer/ondisk.c | 1 - sbin/newfs_hammer/newfs_hammer.c | 19 ++++++++++--------- 4 files changed, 10 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db7b497cbdd6eb264cf2ab90bb8be82d361f34cd -- DragonFly BSD source repository