summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-07-24 21:21:43 +0000
committerphk <phk@FreeBSD.org>1996-07-24 21:21:43 +0000
commit3a73783c23cb882d9638b775582f7df8a02f6dcb (patch)
tree83de5277b1743197b283fe31b6a16a3dd9fb9b29
parent8398830f31aa2e91c5f938cebe4205d9959dfb92 (diff)
downloadFreeBSD-src-3a73783c23cb882d9638b775582f7df8a02f6dcb.zip
FreeBSD-src-3a73783c23cb882d9638b775582f7df8a02f6dcb.tar.gz
DEVFS needs a special bdevvp().
-rw-r--r--sys/kern/vfs_export.c4
-rw-r--r--sys/kern/vfs_subr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 7b8fccd..53747dc 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
- * $Id: vfs_subr.c,v 1.54 1996/05/31 00:20:31 peter Exp $
+ * $Id: vfs_subr.c,v 1.55 1996/07/12 07:41:34 bde Exp $
*/
/*
@@ -672,6 +672,7 @@ reassignbuf(bp, newvp)
}
}
+#ifndef DEVFS
/*
* Create a vnode for a block device.
* Used for root filesystem, argdev, and swap areas.
@@ -703,6 +704,7 @@ bdevvp(dev, vpp)
return (0);
}
+#endif /* !DEVFS */
/*
* Check to see if the new vnode represents a special device
* for which we already have a vnode (either because of
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 7b8fccd..53747dc 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
- * $Id: vfs_subr.c,v 1.54 1996/05/31 00:20:31 peter Exp $
+ * $Id: vfs_subr.c,v 1.55 1996/07/12 07:41:34 bde Exp $
*/
/*
@@ -672,6 +672,7 @@ reassignbuf(bp, newvp)
}
}
+#ifndef DEVFS
/*
* Create a vnode for a block device.
* Used for root filesystem, argdev, and swap areas.
@@ -703,6 +704,7 @@ bdevvp(dev, vpp)
return (0);
}
+#endif /* !DEVFS */
/*
* Check to see if the new vnode represents a special device
* for which we already have a vnode (either because of
OpenPOWER on IntegriCloud