Added missing splx() in DIAGNOSTIC code.

Suggested by enami@sys.ptg.sony.co.jp.
This commit is contained in:
David Greenman 1995-07-08 04:03:12 +00:00
parent e985fb8ec7
commit e8cf02294a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9435
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 @@ spec_fsync(ap)
#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 @@ spec_fsync(ap)
#ifdef DIAGNOSTIC
if (vp->v_dirtyblkhd.lh_first) {
vprint("spec_fsync: dirty", vp);
splx(s);
goto loop;
}
#endif