summaryrefslogtreecommitdiffstats
path: root/sys/sys/devicestat.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-06 20:00:03 +0000
committerphk <phk@FreeBSD.org>2001-05-06 20:00:03 +0000
commit16caeec9b02aa3b15073b68736e4e950266ffd81 (patch)
tree530c90a78ebb64a793fe1f7688a50c3a46c4eba9 /sys/sys/devicestat.h
parent33cb778d44db479f7586e1b5c1f9b400db720f22 (diff)
downloadFreeBSD-src-16caeec9b02aa3b15073b68736e4e950266ffd81.zip
FreeBSD-src-16caeec9b02aa3b15073b68736e4e950266ffd81.tar.gz
Actually biofinish(struct bio *, struct devstat *, int error) is more general
than the bioerror(). Most of this patch is generated by scripts.
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r--sys/sys/devicestat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index 7e617c6..b3e7f7f 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -218,7 +218,9 @@ void devstat_start_transaction(struct devstat *ds);
void devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
devstat_tag_type tag_type,
devstat_trans_flags flags);
+#ifndef _SYS_BIO_H_
void devstat_end_transaction_bio(struct devstat *ds, struct bio *bp);
#endif
+#endif
#endif /* _DEVICESTAT_H */
OpenPOWER on IntegriCloud