restore a brelvp() that I removed in a moment of overzealousness.
Debugged by: Brian Grayson <bgrayson@netbsd.org>
This commit is contained in:
parent
f1196b666f
commit
d75d6fb164
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_swap.c,v 1.34 2000/02/07 20:16:59 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_swap.c,v 1.35 2000/04/07 08:27:28 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Matthew R. Green
|
||||
|
@ -1445,6 +1445,13 @@ sw_reg_iodone(bp)
|
|||
vnx->vx_error = vbp->vb_buf.b_error;
|
||||
}
|
||||
|
||||
/*
|
||||
* disassociate this buffer from the vnode (if any).
|
||||
*/
|
||||
if (vbp->vb_buf.b_vp != NULLVP) {
|
||||
brelvp(&vbp->vb_buf);
|
||||
}
|
||||
|
||||
/*
|
||||
* kill vbp structure
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue