diff options
author | julian <julian@FreeBSD.org> | 1999-08-25 04:55:20 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-08-25 04:55:20 +0000 |
commit | 7ceff14f1823e770e8caeb5cbabe1619916e1ac5 (patch) | |
tree | c9dcb1fb5014318894a39c09bfdb16f893dbe68f /sys/kern/vfs_subr.c | |
parent | f6333bd1a12d5d23227c66978593886b1a7b4819 (diff) | |
download | FreeBSD-src-7ceff14f1823e770e8caeb5cbabe1619916e1ac5.zip FreeBSD-src-7ceff14f1823e770e8caeb5cbabe1619916e1ac5.tar.gz |
Make DEVFS use PHK's specinfo struct as the source of dev_t and devsw.
In lookup() however it's the other way around as we need to supply the
dev_t for the vnode, so devfs still has a copy of it stashed away.
Sourcing it from the vnode in the vnops however is useful as it makes
a lot of the code almost the same as that in specfs.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 043a5bf..5357297 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.217 1999/08/13 10:29:21 phk Exp $ + * $Id: vfs_subr.c,v 1.218 1999/08/22 00:15:04 jdp Exp $ */ /* @@ -78,7 +78,6 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure"); -static struct vnode *checkalias2 __P((struct vnode *nvp, dev_t dev, struct mount *mp)); static void insmntque __P((struct vnode *vp, struct mount *mp)); static void vclean __P((struct vnode *vp, int flags, struct proc *p)); static void vfree __P((struct vnode *)); @@ -1318,7 +1317,7 @@ checkalias(nvp, nvp_rdev, mp) return (checkalias2(nvp, dev, mp)); } -static struct vnode * +struct vnode * checkalias2(nvp, dev, mp) register struct vnode *nvp; dev_t dev; |