git: sys/vfs/hammer: Fix wrong comment on ambiguous variable name
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:36 PDT 2015
commit 5b5dd5b40a6d2dda14e252ea4f67c5fa86cb95c7
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Sep 19 15:28:34 2015 +0900
sys/vfs/hammer: Fix wrong comment on ambiguous variable name
hammer_volume_ondisk::vol_name[] is a filesystem label string
specified by newfs_hammer via -L option (see below), but not
the name of the volume like "/dev/da1".
# grep "ondisk->vol_name" sbin/newfs_hammer -rI
sbin/newfs_hammer/newfs_hammer.c: \
snprintf(ondisk->vol_name, sizeof(ondisk->vol_name), "%s", label);
Summary of changes:
sys/vfs/hammer/hammer_disk.h | 2 +-
sys/vfs/hammer/hammer_vfsops.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b5dd5b40a6d2dda14e252ea4f67c5fa86cb95c7
--
DragonFly BSD source repository
More information about the Commits
mailing list