diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 20:09:21 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 20:09:21 +0000 |
commit | 0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch) | |
tree | cb68685742f9729aa9c70ebcdc86355253673b77 /sys/fs | |
parent | 5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff) | |
download | FreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.zip FreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.tar.gz |
Fix warnings preparing for -Wall -Wcast-qual
Also disable one usb module in LINT due to fatal compilation errors,
temporary.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/coda/coda_fbsd.c | 4 | ||||
-rw-r--r-- | sys/fs/coda/coda_vnops.c | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c index 66bfe07..0a5a573 100644 --- a/sys/fs/coda/coda_fbsd.c +++ b/sys/fs/coda/coda_fbsd.c @@ -27,7 +27,7 @@ * 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.10 1999/01/05 18:49:49 eivind Exp $ + * $Id: coda_fbsd.c,v 1.11 1999/01/17 20:25:14 peter Exp $ * */ @@ -84,7 +84,7 @@ int vcdebug = 1; #define VCDEBUG if (vcdebug) printf static int -codadev_modevent(module_t mod, int type, void *data) +codadev_modevent(module_t mod, modeventtype_t type, void *data) { dev_t dev; #ifdef DEVFS diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index c0cfa5e..40f2878 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_vnops.c,v 1.12 1999/01/07 16:14:12 bde Exp $ + * $Id: coda_vnops.c,v 1.13 1999/01/20 14:49:05 eivind Exp $ * */ @@ -48,6 +48,14 @@ /* * HISTORY * $Log: coda_vnops.c,v $ + * Revision 1.13 1999/01/20 14:49:05 eivind + * Add 'options DEBUG_LOCKS', which stores extra information in struct + * lock, and add some macros and function parameters to make sure that + * the information get to the point where it can be put in the lock + * structure. + * + * While I'm here, add DEBUG_VFS_LOCKS to LINT. + * * Revision 1.12 1999/01/07 16:14:12 bde * Don't pass unused unused timestamp args to UFS_UPDATE() or waste * time initializing them. This almost finishes centralizing (in-core) @@ -760,7 +768,7 @@ coda_ioctl(v) /* Should we use the name cache here? It would get it from lookupname sooner or later anyway, right? */ - NDINIT(&ndp, LOOKUP, (iap->follow ? FOLLOW : NOFOLLOW), UIO_USERSPACE, ((caddr_t)iap->path), p); + NDINIT(&ndp, LOOKUP, (iap->follow ? FOLLOW : NOFOLLOW), UIO_USERSPACE, ((c_caddr_t)iap->path), p); error = namei(&ndp); tvp = ndp.ni_vp; |