summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-11-18 23:33:48 +0000
committerdyson <dyson@FreeBSD.org>1995-11-18 23:33:48 +0000
commitabc5479800e758eae25c99f76a527e118d30e475 (patch)
treebfda158f0186dcf854d15fcc3678e3309e3b81c8 /sys/kern/vfs_bio.c
parent7191d72bfacc8a0b46fd1a0dc250a9e135b5647a (diff)
downloadFreeBSD-src-abc5479800e758eae25c99f76a527e118d30e475.zip
FreeBSD-src-abc5479800e758eae25c99f76a527e118d30e475.tar.gz
Added a missing splx(s).
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 4793bcf..3e011a6 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.68 1995/10/29 15:31:13 phk Exp $
+ * $Id: vfs_bio.c,v 1.69 1995/11/05 20:45:49 dyson Exp $
*/
/*
@@ -938,8 +938,10 @@ loop:
doingvmio = 0;
}
if ((bp = getnewbuf(slpflag, slptimeo, doingvmio)) == 0) {
- if (slpflag || slptimeo)
+ if (slpflag || slptimeo) {
+ splx(s);
return NULL;
+ }
goto loop;
}
OpenPOWER on IntegriCloud