summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2003-05-28 13:22:10 +0000
committerIan Dowse <iedowse@FreeBSD.org>2003-05-28 13:22:10 +0000
commitad6adb4f18cec36019a21ba383a0dcad02b6bf98 (patch)
treec43215f7526fa67526861f9c7ed988fb1a9c296b /sys/kern/vfs_cluster.c
parentaee2eba2d12cef307e1ada255736657b826e1961 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 3f9437c70810..85fb8b339ffc 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -910,8 +910,10 @@ cluster_wbuild(vp, size, start_lbn, len)
splx(s);
} /* end of code for non-first buffers only */
/* check for latent dependencies to be handled */
- if ((LIST_FIRST(&tbp->b_dep)) != NULL)
+ if ((LIST_FIRST(&tbp->b_dep)) != NULL) {
+ tbp->b_iocmd = BIO_WRITE;
buf_start(tbp);
+ }
/*
* If the IO is via the VM then we do some
* special VM hackery (yuck). Since the buffer's