mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 12:44:53 +01:00
Added missing splx() in DIAGNOSTIC code.
Suggested by enami@sys.ptg.sony.co.jp.
This commit is contained in:
parent
56b16b74bf
commit
ea344a6b3f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user