aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-07-24 21:21:43 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-07-24 21:21:43 +0000
commite83cf165d6768670e5479db47c3ba95f6cce2bf7 (patch)
tree83de5277b1743197b283fe31b6a16a3dd9fb9b29
parent8bc66d9bd2a765b561ab80e04308b808916e886d (diff)
Notes
-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 7b8fccdd7d2b..53747dc02f1e 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 7b8fccdd7d2b..53747dc02f1e 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