From 5ece1e2fcaf35bbde2dd481916556d5e6adc8e3f Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 12 Mar 2004 06:51:21 +0000 Subject: [PATCH] Fix copy&paste-o. Spotted by: iedowse --- sys/sys/buf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/buf.h b/sys/sys/buf.h index ce4744f236e2..d73af8d17aba 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -408,7 +408,7 @@ struct cluster_save { static __inline int buf_prewrite(struct vnode *vp, struct buf *bp) { - if (bioops.io_start) + if (bioops.io_prewrite) return (*bioops.io_prewrite)(vp, bp); else return (0);