Remove unused M_MOUNT.
This commit is contained in:
parent
6fe40e04a2
commit
756122ce22
4
external/cddl/osnet/sys/kern/vfs.c
vendored
4
external/cddl/osnet/sys/kern/vfs.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfs.c,v 1.3 2010/06/24 13:03:05 hannken Exp $ */
|
||||
/* $NetBSD: vfs.c,v 1.4 2011/04/02 04:57:35 rmind Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>
|
||||
@ -39,8 +39,6 @@
|
||||
#include <sys/priv.h>
|
||||
#include <lib/libkern/libkern.h>
|
||||
|
||||
MALLOC_DECLARE(M_MOUNT);
|
||||
|
||||
int
|
||||
lookupname(char *dirname, enum uio_seg seg, vnode_t **dirvpp, vnode_t **compvpp)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfs_syscalls.c,v 1.420 2011/04/02 04:28:56 rmind Exp $ */
|
||||
/* $NetBSD: vfs_syscalls.c,v 1.421 2011/04/02 04:57:35 rmind Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||
@ -70,7 +70,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.420 2011/04/02 04:28:56 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.421 2011/04/02 04:57:35 rmind Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_fileassoc.h"
|
||||
@ -112,8 +112,6 @@ __KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.420 2011/04/02 04:28:56 rmind Exp
|
||||
#include <nfs/nfs.h>
|
||||
#include <nfs/nfs_var.h>
|
||||
|
||||
MALLOC_DEFINE(M_MOUNT, "mount", "vfs mount struct");
|
||||
|
||||
static int change_flags(struct vnode *, u_long, struct lwp *);
|
||||
static int change_mode(struct vnode *, int, struct lwp *l);
|
||||
static int change_owner(struct vnode *, uid_t, gid_t, struct lwp *, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mount.h,v 1.198 2011/04/02 04:28:57 rmind Exp $ */
|
||||
/* $NetBSD: mount.h,v 1.199 2011/04/02 04:57:35 rmind Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993
|
||||
@ -375,8 +375,6 @@ struct mnt_export_args30 {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/mallocvar.h>
|
||||
MALLOC_DECLARE(M_MOUNT);
|
||||
|
||||
/*
|
||||
* exported VFS interface (see vfssubr(9))
|
||||
|
Loading…
Reference in New Issue
Block a user