summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-07-08 04:03:12 +0000
committerdg <dg@FreeBSD.org>1995-07-08 04:03:12 +0000
commitea344a6b3f469dedbf668005d3263137fd837086 (patch)
tree06b0fcd98ce474ef3de8ad46f93322585846354b
parent56b16b74bf576e383adda67bcf4171d64d7349e2 (diff)
downloadFreeBSD-src-ea344a6b3f469dedbf668005d3263137fd837086.zip
FreeBSD-src-ea344a6b3f469dedbf668005d3263137fd837086.tar.gz
Added missing splx() in DIAGNOSTIC code.
Suggested by enami@sys.ptg.sony.co.jp.
-rw-r--r--sys/fs/specfs/spec_vnops.c3
-rw-r--r--sys/miscfs/specfs/spec_vnops.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c
index 60ca999..f3b88f0 100644
--- a/sys/fs/specfs/spec_vnops.c
+++ b/sys/fs/specfs/spec_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
- * $Id: spec_vnops.c,v 1.10 1995/02/03 06:46:21 davidg Exp $
+ * $Id: spec_vnops.c,v 1.11 1995/04/09 06:03:10 davidg Exp $
*/
#include <sys/param.h>
@@ -473,6 +473,7 @@ loop:
#ifdef DIAGNOSTIC
if (vp->v_dirtyblkhd.lh_first) {
vprint("spec_fsync: dirty", vp);
+ splx(s);
goto loop;
}
#endif
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 60ca999..f3b88f0 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
- * $Id: spec_vnops.c,v 1.10 1995/02/03 06:46:21 davidg Exp $
+ * $Id: spec_vnops.c,v 1.11 1995/04/09 06:03:10 davidg Exp $
*/
#include <sys/param.h>
@@ -473,6 +473,7 @@ loop:
#ifdef DIAGNOSTIC
if (vp->v_dirtyblkhd.lh_first) {
vprint("spec_fsync: dirty", vp);
+ splx(s);
goto loop;
}
#endif
OpenPOWER on IntegriCloud