summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-25 08:23:11 +0000
committerjeff <jeff@FreeBSD.org>2003-02-25 08:23:11 +0000
commit1228dbd648093e92961e3c7c9fa1b2a9da12e6f5 (patch)
tree976b9736e7cec9242df9c0621633ab182771a7a1 /sys
parentb34a19a5302e3b8bc1029efe1c1d83b272e4c774 (diff)
downloadFreeBSD-src-1228dbd648093e92961e3c7c9fa1b2a9da12e6f5.zip
FreeBSD-src-1228dbd648093e92961e3c7c9fa1b2a9da12e6f5.tar.gz
- Add the missing NULL interlock argument to a recently added BUF_LOCK.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 2e831e8..6c018a9 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -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");
OpenPOWER on IntegriCloud