Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/coda Apply patch (requested by christos):



details:   https://anonhg.NetBSD.org/src/rev/3baf63de8189
branches:  netbsd-1-4
changeset: 470284:3baf63de8189
user:      he <he%NetBSD.org@localhost>
date:      Sun Feb 06 17:16:28 2000 +0000

description:
Apply patch (requested by christos):
  Fix a compilation problem caused by the widening of v_usecount.

diffstat:

 sys/coda/coda_vnops.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 28e3e377d8e6 -r 3baf63de8189 sys/coda/coda_vnops.c
--- a/sys/coda/coda_vnops.c     Sun Feb 06 17:12:30 2000 +0000
+++ b/sys/coda/coda_vnops.c     Sun Feb 06 17:16:28 2000 +0000
@@ -6,7 +6,7 @@
 rmdir
 symlink
 */
-/*     $NetBSD: coda_vnops.c,v 1.9.4.2 1999/10/18 05:04:48 cgd Exp $   */
+/*     $NetBSD: coda_vnops.c,v 1.9.4.3 2000/02/06 17:16:28 he Exp $    */
 
 /*
  * 
@@ -56,6 +56,10 @@
 /*
  * HISTORY
  * $Log: coda_vnops.c,v $
+ * Revision 1.9.4.3  2000/02/06 17:16:28  he
+ * Apply patch (requested by christos):
+ *   Fix a compilation problem caused by the widening of v_usecount.
+ *
  * Revision 1.9.4.2  1999/10/18 05:04:48  cgd
  * pull up rev 1.14 from trunk (requested by wrstuden):
  *   In spec_close(), call the device's close routine with the vnode
@@ -1090,9 +1094,9 @@
 
     if (IS_UNMOUNTING(cp)) {
 #ifdef DEBUG
-       printf("coda_inactive: IS_UNMOUNTING use %d: vp %p, cp %p\n", vp->v_usecount, vp, cp);
+       printf("coda_inactive: IS_UNMOUNTING use %ld: vp %p, cp %p\n", vp->v_usecount, vp, cp);
        if (cp->c_ovp != NULL)
-           printf("coda_inactive: cp->ovp != NULL use %d: vp %p, cp %p\n",
+           printf("coda_inactive: cp->ovp != NULL use %ld: vp %p, cp %p\n",
                   vp->v_usecount, vp, cp);
 #endif
        lockmgr(&cp->c_lock, LK_RELEASE, &vp->v_interlock);



Home | Main Index | Thread Index | Old Index