summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-16 11:45:30 +0000
committerdg <dg@FreeBSD.org>1995-04-16 11:45:30 +0000
commit3dc853919e71f295a04613db01c2b784ddd9e3f5 (patch)
treeaddd1812e47e22f389be0447a28865ff0ff36712
parent70107524988ad8d350145e4e162bc7227702d7c2 (diff)
downloadFreeBSD-src-3dc853919e71f295a04613db01c2b784ddd9e3f5.zip
FreeBSD-src-3dc853919e71f295a04613db01c2b784ddd9e3f5.tar.gz
Killed gratuitous b_vp=NULL in bufinit. The entire buffer is already
bzero()'d.
-rw-r--r--sys/kern/vfs_bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index da4bcb3..23415e0 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.39 1995/04/09 06:02:43 davidg Exp $
+ * $Id: vfs_bio.c,v 1.40 1995/04/16 05:11:14 davidg Exp $
*/
/*
@@ -118,7 +118,6 @@ bufinit()
bzero(bp, sizeof *bp);
bp->b_flags = B_INVAL; /* we're just an empty header */
bp->b_dev = NODEV;
- bp->b_vp = NULL;
bp->b_rcred = NOCRED;
bp->b_wcred = NOCRED;
bp->b_qindex = QUEUE_EMPTY;
OpenPOWER on IntegriCloud