mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-25 03:05:08 +00:00
Added missing splx() in DIAGNOSTIC code.
Suggested by enami@sys.ptg.sony.co.jp.
This commit is contained in:
parent
e985fb8ec7
commit
e8cf02294a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9435
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue