summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lkm/coda/Makefile3
-rw-r--r--sys/coda/coda_fbsd.c6
-rw-r--r--sys/coda/coda_psdev.c7
-rw-r--r--sys/coda/coda_subr.c9
-rw-r--r--sys/coda/coda_vfsops.c11
-rw-r--r--sys/fs/coda/coda_fbsd.c6
-rw-r--r--sys/fs/coda/coda_psdev.c7
-rw-r--r--sys/fs/coda/coda_subr.c9
-rw-r--r--sys/fs/coda/coda_vfsops.c11
-rw-r--r--sys/modules/coda/Makefile3
10 files changed, 48 insertions, 24 deletions
diff --git a/lkm/coda/Makefile b/lkm/coda/Makefile
index 4761a21..c014608 100644
--- a/lkm/coda/Makefile
+++ b/lkm/coda/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 1998/02/06 23:54:22 eivind Exp $
+# $Id: Makefile,v 1.1.1.1 1998/09/25 17:47:48 rvb Exp $
.PATH: ${.CURDIR}/../../sys/coda
KMOD= coda_mod
@@ -6,6 +6,5 @@ SRCS= coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
coda_venus.c coda_vfsops.c coda_vnops.c
NOMAN=
VFS_LKM=
-CFLAGS+= -DCODA
.include <bsd.kmod.mk>
diff --git a/sys/coda/coda_fbsd.c b/sys/coda/coda_fbsd.c
index 78adcba..8d407ae 100644
--- a/sys/coda/coda_fbsd.c
+++ b/sys/coda/coda_fbsd.c
@@ -27,11 +27,11 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_fbsd.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
+ * $Id: coda_fbsd.c,v 1.6 1998/09/28 20:52:57 rvb Exp $
*
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include "vcoda.h"
@@ -223,7 +223,7 @@ coda_fbsd_putpages(v)
SYSINIT(codadev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+VC_DEV_NO,vc_drvinit,NULL)
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#include <sys/mount.h>
#include <sys/lkm.h>
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c
index df5e3a8..3abbff0 100644
--- a/sys/coda/coda_psdev.c
+++ b/sys/coda/coda_psdev.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_psdev.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
+ * $Id: coda_psdev.c,v 1.6 1998/09/28 20:52:58 rvb Exp $
*
*/
@@ -53,6 +53,9 @@
/*
* HISTORY
* $Log: coda_psdev.c,v $
+ * Revision 1.6 1998/09/28 20:52:58 rvb
+ * Cleanup and fix THE bug
+ *
* Revision 1.5 1998/09/25 17:38:31 rvb
* Put "stray" printouts under DIAGNOSTIC. Make everything build
* with DEBUG on. Add support for lkm. (The macro's don't work
@@ -166,7 +169,7 @@
extern int coda_nc_initialized; /* Set if cache has been initialized */
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c
index 58620f7..d24b5d6 100644
--- a/sys/coda/coda_subr.c
+++ b/sys/coda/coda_subr.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_subr.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
+ * $Id: coda_subr.c,v 1.6 1998/09/25 17:38:31 rvb Exp $
*
*/
@@ -46,6 +46,11 @@
/*
* HISTORY
* $Log: coda_subr.c,v $
+ * Revision 1.6 1998/09/25 17:38:31 rvb
+ * Put "stray" printouts under DIAGNOSTIC. Make everything build
+ * with DEBUG on. Add support for lkm. (The macro's don't work
+ * for me; for a good chuckle look at the end of coda_fbsd.c.)
+ *
* Revision 1.5 1998/09/13 13:57:59 rvb
* Finish conversion of cfs -> coda
*
@@ -213,7 +218,7 @@
* 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 59df97a..835af3763 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_vfsops.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
+ * $Id: coda_vfsops.c,v 1.6 1998/09/25 17:38:32 rvb Exp $
*
*/
@@ -47,6 +47,11 @@
/*
* HISTORY
* $Log: coda_vfsops.c,v $
+ * Revision 1.6 1998/09/25 17:38:32 rvb
+ * Put "stray" printouts under DIAGNOSTIC. Make everything build
+ * with DEBUG on. Add support for lkm. (The macro's don't work
+ * for me; for a good chuckle look at the end of coda_fbsd.c.)
+ *
* Revision 1.5 1998/09/13 13:57:59 rvb
* Finish conversion of cfs -> coda
*
@@ -185,7 +190,7 @@
*
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
@@ -734,7 +739,7 @@ struct vfsops coda_vfsops = {
coda_init,
};
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
/*
* This case is being handled in coda_fbsd.c
* What we want is too hairy for VFS_SET to get right!
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c
index 78adcba..8d407ae 100644
--- a/sys/fs/coda/coda_fbsd.c
+++ b/sys/fs/coda/coda_fbsd.c
@@ -27,11 +27,11 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_fbsd.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
+ * $Id: coda_fbsd.c,v 1.6 1998/09/28 20:52:57 rvb Exp $
*
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include "vcoda.h"
@@ -223,7 +223,7 @@ coda_fbsd_putpages(v)
SYSINIT(codadev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+VC_DEV_NO,vc_drvinit,NULL)
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#include <sys/mount.h>
#include <sys/lkm.h>
diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c
index df5e3a8..3abbff0 100644
--- a/sys/fs/coda/coda_psdev.c
+++ b/sys/fs/coda/coda_psdev.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_psdev.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
+ * $Id: coda_psdev.c,v 1.6 1998/09/28 20:52:58 rvb Exp $
*
*/
@@ -53,6 +53,9 @@
/*
* HISTORY
* $Log: coda_psdev.c,v $
+ * Revision 1.6 1998/09/28 20:52:58 rvb
+ * Cleanup and fix THE bug
+ *
* Revision 1.5 1998/09/25 17:38:31 rvb
* Put "stray" printouts under DIAGNOSTIC. Make everything build
* with DEBUG on. Add support for lkm. (The macro's don't work
@@ -166,7 +169,7 @@
extern int coda_nc_initialized; /* Set if cache has been initialized */
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c
index 58620f7..d24b5d6 100644
--- a/sys/fs/coda/coda_subr.c
+++ b/sys/fs/coda/coda_subr.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_subr.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
+ * $Id: coda_subr.c,v 1.6 1998/09/25 17:38:31 rvb Exp $
*
*/
@@ -46,6 +46,11 @@
/*
* HISTORY
* $Log: coda_subr.c,v $
+ * Revision 1.6 1998/09/25 17:38:31 rvb
+ * Put "stray" printouts under DIAGNOSTIC. Make everything build
+ * with DEBUG on. Add support for lkm. (The macro's don't work
+ * for me; for a good chuckle look at the end of coda_fbsd.c.)
+ *
* Revision 1.5 1998/09/13 13:57:59 rvb
* Finish conversion of cfs -> coda
*
@@ -213,7 +218,7 @@
* 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c
index 59df97a..835af3763 100644
--- a/sys/fs/coda/coda_vfsops.c
+++ b/sys/fs/coda/coda_vfsops.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_vfsops.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
+ * $Id: coda_vfsops.c,v 1.6 1998/09/25 17:38:32 rvb Exp $
*
*/
@@ -47,6 +47,11 @@
/*
* HISTORY
* $Log: coda_vfsops.c,v $
+ * Revision 1.6 1998/09/25 17:38:32 rvb
+ * Put "stray" printouts under DIAGNOSTIC. Make everything build
+ * with DEBUG on. Add support for lkm. (The macro's don't work
+ * for me; for a good chuckle look at the end of coda_fbsd.c.)
+ *
* Revision 1.5 1998/09/13 13:57:59 rvb
* Finish conversion of cfs -> coda
*
@@ -185,7 +190,7 @@
*
*/
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
#define NVCODA 4
#else
#include <vcoda.h>
@@ -734,7 +739,7 @@ struct vfsops coda_vfsops = {
coda_init,
};
-#ifdef ACTUALLY_LKM_NOT_KERNEL
+#ifdef VFS_LKM
/*
* This case is being handled in coda_fbsd.c
* What we want is too hairy for VFS_SET to get right!
diff --git a/sys/modules/coda/Makefile b/sys/modules/coda/Makefile
index 4761a21..c014608 100644
--- a/sys/modules/coda/Makefile
+++ b/sys/modules/coda/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 1998/02/06 23:54:22 eivind Exp $
+# $Id: Makefile,v 1.1.1.1 1998/09/25 17:47:48 rvb Exp $
.PATH: ${.CURDIR}/../../sys/coda
KMOD= coda_mod
@@ -6,6 +6,5 @@ SRCS= coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
coda_venus.c coda_vfsops.c coda_vnops.c
NOMAN=
VFS_LKM=
-CFLAGS+= -DCODA
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud