mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Killed gratuitous b_vp=NULL in bufinit. The entire buffer is already
bzero()'d.
This commit is contained in:
parent
1a477b0c27
commit
cece489df8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7878
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user