summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-03-05 04:58:43 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-03-05 04:58:43 +0000
commit476e9ce6a5703177ce3fe3571a6b3b2dc677dee4 (patch)
treefb36f9a9a9ecb365f4e60617ad4deb8312cce39b
parent8081bf16e2f7eb466d51c58e5fa3c37285a57cb3 (diff)
Notes
-rw-r--r--sys/kern/vfs_subr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index d11642f32617..622f6c78be25 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
- * $Id: vfs_subr.c,v 1.64.2.1 1996/11/12 11:28:36 phk Exp $
+ * $Id: vfs_subr.c,v 1.64.2.2 1997/02/28 11:11:50 bde Exp $
*/
/*
@@ -502,9 +502,10 @@ vinvalbuf(vp, flags, cred, p, slpflag, slptimeo)
error = tsleep((caddr_t) bp,
slpflag | (PRIBIO + 1), "vinvalbuf",
slptimeo);
- splx(s);
- if (error)
+ if (error) {
+ splx(s);
return (error);
+ }
break;
}
bremfree(bp);
@@ -523,13 +524,12 @@ vinvalbuf(vp, flags, cred, p, slpflag, slptimeo)
brelse(bp);
}
}
- splx(s);
- s = splbio();
while (vp->v_numoutput > 0) {
vp->v_flag |= VBWAIT;
tsleep(&vp->v_numoutput, PVM, "vnvlbv", 0);
}
+
splx(s);
/*