sys/vfs/hammer: Rename ondisk vol_name to vol_label
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 7 Apr 2016 01:26:29 +0000 (10:26 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 7 Apr 2016 05:03:17 +0000 (14:03 +0900)
commit6c39d27aedd299180e0b77179a8690d90d1e6e6d
tree2d5c3b0c57c4701b3246b699d4e1578c68c1e36d
parent4ca2ad2717ad6660cf122bb0fbc4ebeaeed6e638
sys/vfs/hammer: Rename ondisk vol_name to vol_label

Ondisk volume header having a field named vol_name for a label
(not a block device path) is confusing, especially when inmemory
volume structure has vol_name for a block device but not a label.

There is even a kprintf message wrongly using ondisk vol_name
as a block device path, as well as some comments saying vol_name
is a filesystem label but not a path, which implies the name was
misleading.

This commit changes ondisk vol_name to vol_label.
This commit also changes vol_name in struct hammer_ioc_info to
vol_label. Outbox userspace programs using these two will see
compile error after this commit (which I doubt there is any...).
This commit doesn't break binaries.

Note that vol_name in struct libhammer_fsinfo is unchanged.
lib/libfsid/hammer.c
lib/libhammer/info.c
sbin/newfs_hammer/newfs_hammer.c
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_ioctl.c
sys/vfs/hammer/hammer_ioctl.h
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c
sys/vfs/hammer/hammer_volume.c