aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-02-25 08:23:11 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-02-25 08:23:11 +0000
commit2e3981a70c76188db4b22a2c78730976f1864fd9 (patch)
tree976b9736e7cec9242df9c0621633ab182771a7a1 /sys/kern/vfs_bio.c
parentb301920c8881a79507570d3c960c6c64536ea591 (diff)
downloadsrc-2e3981a70c76188db4b22a2c78730976f1864fd9.tar.gz
src-2e3981a70c76188db4b22a2c78730976f1864fd9.zip
- Add the missing NULL interlock argument to a recently added BUF_LOCK.
Notes
Notes: svn path=/head/; revision=111474
Diffstat (limited to 'sys/kern/vfs_bio.c')
-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 2e831e88ec3e..6c018a9e6e02 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");