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

This commit is contained in:
Jeff Roberson 2003-02-25 08:23:11 +00:00
parent b301920c88
commit 2e3981a70c

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");