g/c pmnt_mp in struct procfs_args
This commit is contained in:
parent
85213a5c3e
commit
555bbcc02a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: procfs.h,v 1.32 2001/01/18 20:28:21 jdolecek Exp $ */
|
||||
/* $NetBSD: procfs.h,v 1.33 2001/01/25 12:44:56 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Jan-Simon Pendry
|
||||
|
@ -103,12 +103,10 @@ struct procfs_args {
|
|||
|
||||
struct procfsmount {
|
||||
void *pmnt_exechook;
|
||||
struct mount *pmnt_mp;
|
||||
int pmnt_flags;
|
||||
};
|
||||
|
||||
#define VFSTOPROC(mp) ((struct procfsmount *)(mp)->mnt_data)
|
||||
#define PROCTOVFS(pp) ((pp)->pmnt_mp)
|
||||
|
||||
/*
|
||||
* Convert between pfsnode vnode
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: procfs_vfsops.c,v 1.37 2001/01/22 12:17:39 jdolecek Exp $ */
|
||||
/* $NetBSD: procfs_vfsops.c,v 1.38 2001/01/25 12:44:56 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Jan-Simon Pendry
|
||||
|
@ -130,7 +130,6 @@ procfs_mount(mp, path, data, ndp, p)
|
|||
memcpy(mp->mnt_stat.f_mntfromname, "procfs", sizeof("procfs"));
|
||||
|
||||
pmnt->pmnt_exechook = exechook_establish(procfs_revoke_vnodes, mp);
|
||||
pmnt->pmnt_mp = mp;
|
||||
pmnt->pmnt_flags = args.flags;
|
||||
|
||||
return (0);
|
||||
|
|
Loading…
Reference in New Issue