diff options
author | rvb <rvb@FreeBSD.org> | 1998-09-29 20:19:45 +0000 |
---|---|---|
committer | rvb <rvb@FreeBSD.org> | 1998-09-29 20:19:45 +0000 |
commit | ee04be1c0c3595e35149685ee3e880bb6c207741 (patch) | |
tree | 50434faef95ed291575a4946790ae58998ffeb50 /sys/coda | |
parent | 8d4ba0e0ec041c3c3230cac4dcd6bd67bd2e5c7d (diff) | |
download | FreeBSD-src-ee04be1c0c3595e35149685ee3e880bb6c207741.zip FreeBSD-src-ee04be1c0c3595e35149685ee3e880bb6c207741.tar.gz |
Fixes for lkm:
1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL
2. don't pass -DCODA to lkm build
Diffstat (limited to 'sys/coda')
-rw-r--r-- | sys/coda/coda_fbsd.c | 6 | ||||
-rw-r--r-- | sys/coda/coda_psdev.c | 7 | ||||
-rw-r--r-- | sys/coda/coda_subr.c | 9 | ||||
-rw-r--r-- | sys/coda/coda_vfsops.c | 11 |
4 files changed, 23 insertions, 10 deletions
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! |