From e8cf02294a690191fce3a612d686473e6e2dd9ef Mon Sep 17 00:00:00 2001 From: David Greenman Date: Sat, 8 Jul 1995 04:03:12 +0000 Subject: [PATCH] Added missing splx() in DIAGNOSTIC code. Suggested by enami@sys.ptg.sony.co.jp. --- sys/fs/specfs/spec_vnops.c | 3 ++- sys/miscfs/specfs/spec_vnops.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 60ca99981917..f3b88f026619 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 @@ -473,6 +473,7 @@ spec_fsync(ap) #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 60ca99981917..f3b88f026619 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 @@ -473,6 +473,7 @@ spec_fsync(ap) #ifdef DIAGNOSTIC if (vp->v_dirtyblkhd.lh_first) { vprint("spec_fsync: dirty", vp); + splx(s); goto loop; } #endif