From ec85ae5e6789b8a5fac6c328bf05a2348c91ea11 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 23 Jul 2008 17:40:29 +0000 Subject: [PATCH] make this real C --- sys/nfs/nfs_vnops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index bc1e604c86a..3227b111f84 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.96 2008/07/23 16:24:43 beck Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.97 2008/07/23 17:40:29 deraadt Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -2997,8 +2997,10 @@ nfs_writebp(bp, force) } if( (oldflags & B_ASYNC) == 0) { + int rtval; + bp->b_flags |= B_RAW; - int rtval = biowait(bp); + rtval = biowait(bp); if (!(oldflags & B_DELWRI) && p) { ++p->p_stats->p_ru.ru_oublock; } -- 2.20.1