- Add the missing NULL interlock argument to a recently added BUF_LOCK.

This commit is contained in:
jeff 2003-02-25 08:23:11 +00:00
parent b34a19a530
commit 1228dbd648

View File

@ -1037,7 +1037,7 @@ bdwrite(struct buf * bp)
TAILQ_FOREACH(nbp, &vp->v_dirtyblkhd, b_vnbufs) {
if ((nbp->b_xflags & BX_BKGRDINPROG) ||
buf_countdeps(nbp, 0) ||
BUF_LOCK(nbp, LK_EXCLUSIVE | LK_NOWAIT))
BUF_LOCK(nbp, LK_EXCLUSIVE | LK_NOWAIT, NULL))
continue;
if (bp == nbp)
panic("bdwrite: found ourselves");