mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
2 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue