Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/msdosfs make compilable with MSDOSFS_DEBUG (adapt to use...
details: https://anonhg.NetBSD.org/src/rev/c9e56de10a19
branches: trunk
changeset: 481530:c9e56de10a19
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Feb 01 10:33:18 2000 +0000
description:
make compilable with MSDOSFS_DEBUG (adapt to usecount & writecount size change)
diffstat:
sys/msdosfs/msdosfs_denode.c | 6 +++---
sys/msdosfs/msdosfs_vfsops.c | 4 ++--
sys/msdosfs/msdosfs_vnops.c | 5 +++--
3 files changed, 8 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r c4405c67b4b3 -r c9e56de10a19 sys/msdosfs/msdosfs_denode.c
--- a/sys/msdosfs/msdosfs_denode.c Tue Feb 01 10:21:00 2000 +0000
+++ b/sys/msdosfs/msdosfs_denode.c Tue Feb 01 10:33:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_denode.c,v 1.36 1999/03/24 05:51:27 mrg Exp $ */
+/* $NetBSD: msdosfs_denode.c,v 1.37 2000/02/01 10:33:18 jdolecek Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -635,8 +635,8 @@
* so that it can be reused immediately.
*/
#ifdef MSDOSFS_DEBUG
- printf("msdosfs_inactive(): v_usecount %d, de_Name[0] %x\n", vp->v_usecount,
- dep->de_Name[0]);
+ printf("msdosfs_inactive(): v_usecount %ld, de_Name[0] %x\n",
+ vp->v_usecount, dep->de_Name[0]);
#endif
if (dep->de_Name[0] == SLOT_DELETED)
vrecycle(vp, (struct simplelock *)0, p);
diff -r c4405c67b4b3 -r c9e56de10a19 sys/msdosfs/msdosfs_vfsops.c
--- a/sys/msdosfs/msdosfs_vfsops.c Tue Feb 01 10:21:00 2000 +0000
+++ b/sys/msdosfs/msdosfs_vfsops.c Tue Feb 01 10:33:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vfsops.c,v 1.65 1999/11/15 18:49:11 fvdl Exp $ */
+/* $NetBSD: msdosfs_vfsops.c,v 1.66 2000/02/01 10:33:19 jdolecek Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -763,7 +763,7 @@
struct vnode *vp = pmp->pm_devvp;
printf("msdosfs_umount(): just before calling VOP_CLOSE()\n");
- printf("flag %08lx, usecount %d, writecount %d, holdcnt %ld\n",
+ printf("flag %08lx, usecount %ld, writecount %ld, holdcnt %ld\n",
vp->v_flag, vp->v_usecount, vp->v_writecount, vp->v_holdcnt);
printf("lastr %d, id %lu, mount %p, op %p\n",
vp->v_lastr, vp->v_id, vp->v_mount, vp->v_op);
diff -r c4405c67b4b3 -r c9e56de10a19 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c Tue Feb 01 10:21:00 2000 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c Tue Feb 01 10:33:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.89 1999/11/15 18:49:11 fvdl Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.90 2000/02/01 10:33:19 jdolecek Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -814,7 +814,8 @@
else
error = removede(ddep, dep);
#ifdef MSDOSFS_DEBUG
- printf("msdosfs_remove(), dep %p, v_usecount %d\n", dep, ap->a_vp->v_usecount);
+ printf("msdosfs_remove(), dep %p, v_usecount %ld\n",
+ dep, ap->a_vp->v_usecount);
#endif
if (ddep == dep)
vrele(ap->a_vp);
Home |
Main Index |
Thread Index |
Old Index