summaryrefslogtreecommitdiffstats
path: root/sys/coda/coda_vnops.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commit0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch)
treecb68685742f9729aa9c70ebcdc86355253673b77 /sys/coda/coda_vnops.c
parent5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff)
downloadFreeBSD-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/coda/coda_vnops.c')
-rw-r--r--sys/coda/coda_vnops.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c
index c0cfa5e..40f2878 100644
--- a/sys/coda/coda_vnops.c
+++ b/sys/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;
OpenPOWER on IntegriCloud