Don't manually set b_bufobj, pbgetvp() does this for us.
This commit is contained in:
parent
287013d287
commit
ce664eaf8e
@ -822,7 +822,6 @@ cluster_wbuild(vp, size, start_lbn, len)
|
|||||||
*/
|
*/
|
||||||
TAILQ_INIT(&bp->b_cluster.cluster_head);
|
TAILQ_INIT(&bp->b_cluster.cluster_head);
|
||||||
bp->b_bcount = 0;
|
bp->b_bcount = 0;
|
||||||
bp->b_bufobj = tbp->b_bufobj;
|
|
||||||
bp->b_bufsize = 0;
|
bp->b_bufsize = 0;
|
||||||
bp->b_npages = 0;
|
bp->b_npages = 0;
|
||||||
if (tbp->b_wcred != NOCRED)
|
if (tbp->b_wcred != NOCRED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user