summaryrefslogtreecommitdiff
path: root/sys/kern/subr_devstat.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-04-02 15:24:56 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-04-02 15:24:56 +0000
commitc244d2de435ed1913d6a7da017b205bffb44b36d (patch)
tree46bc33c5a3d3f0f652e9af40acac38ed8c4492c6 /sys/kern/subr_devstat.c
parent4c9805fafa5fb041fa369df26cd26fee579223fe (diff)
Notes
Diffstat (limited to 'sys/kern/subr_devstat.c')
-rw-r--r--sys/kern/subr_devstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 7ebc257c3a95..81740ed7cb92 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -241,7 +241,7 @@ devstat_end_transaction_buf(struct devstat *ds, struct buf *bp)
flg = DEVSTAT_WRITE;
devstat_end_transaction(ds, bp->b_bcount - bp->b_resid,
- (bp->b_flags & B_ORDERED) ?
+ (bp->b_ioflags & BIO_ORDERED) ?
DEVSTAT_TAG_ORDERED : DEVSTAT_TAG_SIMPLE, flg);
}