diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
commit | be4f357149ecc68e1bf349f69f702cad430aec97 (patch) | |
tree | fe71f10c01688ab52e9bffd17c7d2ebd7d2c09b4 /sys/fs/smbfs/smbfs_vfsops.c | |
parent | 5f4072340596bcd7e45343bc44317347b00f07e4 (diff) | |
download | FreeBSD-src-be4f357149ecc68e1bf349f69f702cad430aec97.zip FreeBSD-src-be4f357149ecc68e1bf349f69f702cad430aec97.tar.gz |
Normalize a significant number of kernel malloc type names:
- Prefer '_' to ' ', as it results in more easily parsed results in
memory monitoring tools such as vmstat.
- Remove punctuation that is incompatible with using memory type names
as file names, such as '/' characters.
- Disambiguate some collisions by adding subsystem prefixes to some
memory types.
- Generally prefer lower case to upper case.
- If the same type is defined in multiple architecture directories,
attempt to use the same name in additional cases.
Not all instances were caught in this change, so more work is required to
finish this conversion. Similar changes are required for UMA zone names.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 5c093c1..aed0c72 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -70,7 +70,7 @@ SYSCTL_NODE(_vfs, OID_AUTO, smbfs, CTLFLAG_RW, 0, "SMB/CIFS filesystem"); SYSCTL_INT(_vfs_smbfs, OID_AUTO, version, CTLFLAG_RD, &smbfs_version, 0, ""); SYSCTL_INT(_vfs_smbfs, OID_AUTO, debuglevel, CTLFLAG_RW, &smbfs_debuglevel, 0, ""); -static MALLOC_DEFINE(M_SMBFSHASH, "SMBFS hash", "SMBFS hash table"); +static MALLOC_DEFINE(M_SMBFSHASH, "smbfs_hash", "SMBFS hash table"); static vfs_init_t smbfs_init; static vfs_uninit_t smbfs_uninit; |