mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 06:12:46 +00:00
Move declaration of M_MFSNODE from mfs_vnops.c to mfsnode.h.
This commit is contained in:
parent
f97c4150dd
commit
5f8dd62adf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30890
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mfs_vnops.c 8.11 (Berkeley) 5/22/95
|
||||
* $Id: mfs_vnops.c,v 1.31 1997/10/27 13:33:47 bde Exp $
|
||||
* $Id: mfs_vnops.c,v 1.32 1997/11/01 20:19:44 tegge Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -50,8 +50,6 @@
|
||||
#include <ufs/mfs/mfsnode.h>
|
||||
#include <ufs/mfs/mfs_extern.h>
|
||||
|
||||
MALLOC_DECLARE(M_MFSNODE);
|
||||
|
||||
static int mfs_badop __P((struct vop_generic_args *));
|
||||
static int mfs_bmap __P((struct vop_bmap_args *));
|
||||
static int mfs_close __P((struct vop_close_args *));
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mfsnode.h 8.3 (Berkeley) 5/19/95
|
||||
* $Id: mfsnode.h,v 1.9 1997/09/14 02:58:08 peter Exp $
|
||||
* $Id: mfsnode.h,v 1.10 1997/10/16 10:50:05 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_MFS_MFSNODE_H_
|
||||
@ -57,4 +57,8 @@ struct mfsnode {
|
||||
#define VTOMFS(vp) ((struct mfsnode *)(vp)->v_data)
|
||||
#define MFSTOV(mfsp) ((mfsp)->mfs_vnode)
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_MFSNODE);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user