mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-23 18:25:19 +00:00
Fix an spl nit.
This commit is contained in:
parent
edec52ad1a
commit
c5efdcbdec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31464
|
@ -13,7 +13,7 @@
|
|||
* bad that happens because of using this software isn't the responsibility
|
||||
* of the author. This software is distributed AS-IS.
|
||||
*
|
||||
* $Id: vfs_aio.c,v 1.13 1997/11/29 02:57:46 dyson Exp $
|
||||
* $Id: vfs_aio.c,v 1.14 1997/11/30 04:36:31 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -467,6 +467,11 @@ aio_proc_rundown(struct proc *p)
|
|||
goto restart2;
|
||||
}
|
||||
|
||||
/*
|
||||
* Note the use of lots of splbio here, trying to avoid
|
||||
* splbio for long chains of I/O. Probably unnecessary.
|
||||
*/
|
||||
|
||||
restart3:
|
||||
s = splbio();
|
||||
while (TAILQ_FIRST(&ki->kaio_bufqueue)) {
|
||||
|
@ -475,6 +480,7 @@ aio_proc_rundown(struct proc *p)
|
|||
splx(s);
|
||||
goto restart3;
|
||||
}
|
||||
splx(s);
|
||||
|
||||
restart4:
|
||||
s = splbio();
|
||||
|
|
Loading…
Reference in a new issue