diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1998-07-04 00:27:48 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1998-07-04 00:27:48 +0000 |
| commit | ad12aad64be3ecc8776b1aa9316af3acf81837e9 (patch) | |
| tree | 5fb1cfa246fed679ff83a977866985f7c981c677 /sys/dev | |
| parent | 2c4d94647c502250e951107973f01ce445e2b3f9 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/vn/vn.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index de8250596ad3..437068962b78 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -38,7 +38,7 @@ * from: Utah Hdr: vn.c 1.13 94/04/02 * * from: @(#)vn.c 8.6 (Berkeley) 4/1/94 - * $Id: vn.c,v 1.60 1998/06/07 17:09:50 dfr Exp $ + * $Id: vn.c,v 1.61 1998/06/07 20:10:53 dfr Exp $ */ /* @@ -327,6 +327,8 @@ vnstrategy(struct buf *bp) struct buf *nbp; nbp = getvnbuf(); + bzero(nbp, sizeof(struct buf)); + LIST_INIT(&nbp->b_dep); byten = dbtob(bn); bsize = vn->sc_vp->v_mount->mnt_stat.f_iosize; addr = bp->b_data; @@ -497,6 +499,8 @@ nvsIOreq(void *private ,struct buf *bp) struct buf *nbp; nbp = getvnbuf(); + bzero(nbp, sizeof(struct buf)); + LIST_INIT(&nbp->b_dep); byten = dbtob(bn); /* This is probably the only time this is RIGHT */ bsize = vn->sc_vp->v_mount->mnt_stat.f_iosize; |
