Added missing splx() in DIAGNOSTIC code.

Suggested by enami@sys.ptg.sony.co.jp.
This commit is contained in:
dg 1995-07-08 04:03:12 +00:00
parent 56b16b74bf
commit ea344a6b3f
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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