summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-04-20 14:43:33 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-04-20 14:43:33 +0000
commit0528f806a48486f6a3d954fc36feefa857abfe23 (patch)
tree4054e62fb6946a04f25cad3c3ac1d67da3ff634a /sys
parenteb4091cc66d6d19fb12a659c93e404302783fed9 (diff)
Remove unused debug code that sneaked in by accident long ago
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nfs_bio.c6
-rw-r--r--sys/nfs/nfs_vnops.c7
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index c942a6db68e..1cbc3faec10 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_bio.c,v 1.41 2005/10/31 20:22:36 otto Exp $ */
+/* $OpenBSD: nfs_bio.c,v 1.42 2006/04/20 14:43:32 pedro Exp $ */
/* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */
/*
@@ -700,10 +700,6 @@ nfs_doio(bp, p)
else
iomode = NFSV3WRITE_FILESYNC;
bp->b_flags |= B_WRITEINPROG;
-#ifdef fvdl_debug
- printf("nfs_doio(%x): bp %x doff %d dend %d\n",
- vp, bp, bp->b_dirtyoff, bp->b_dirtyend);
-#endif
error = nfs_writerpc(vp, uiop, &iomode, &must_commit);
rw_enter_write(&np->n_commitlock);
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index f63d3162ac1..5088a040303 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vnops.c,v 1.65 2005/09/29 00:45:51 deraadt Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.66 2006/04/20 14:43:32 pedro Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@ -3002,11 +3002,6 @@ nfs_writebp(bp, force)
vp = bp->b_vp;
np = VTONFS(vp);
-#ifdef fvdl_debug
- printf("nfs_writebp(%x): vp %x voff %d vend %d doff %d dend %d\n",
- bp, bp->b_vp, bp->b_validoff, bp->b_validend, bp->b_dirtyoff,
- bp->b_dirtyend);
-#endif
bp->b_flags &= ~(B_READ|B_DONE|B_ERROR);
s = splbio();