tmpfs: make M_TMPFSMNT static to tmpfs_vfsops.c
This malloc type is only used in this file. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
cd240c9cf1
commit
42bebbda9e
@ -42,7 +42,6 @@
|
||||
#include <sys/tree.h>
|
||||
|
||||
#ifdef _SYS_MALLOC_H_
|
||||
MALLOC_DECLARE(M_TMPFSMNT);
|
||||
MALLOC_DECLARE(M_TMPFSNAME);
|
||||
#endif
|
||||
|
||||
|
@ -80,7 +80,7 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
#define TMPFS_DEFAULT_ROOT_MODE (S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
|
||||
|
||||
MALLOC_DEFINE(M_TMPFSMNT, "tmpfs mount", "tmpfs mount structures");
|
||||
static MALLOC_DEFINE(M_TMPFSMNT, "tmpfs mount", "tmpfs mount structures");
|
||||
MALLOC_DEFINE(M_TMPFSNAME, "tmpfs name", "tmpfs file names");
|
||||
|
||||
static int tmpfs_mount(struct mount *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user