From c5efdcbdecddd700dc4bda7a9f967bd07785984a Mon Sep 17 00:00:00 2001 From: John Dyson Date: Sun, 30 Nov 1997 21:47:36 +0000 Subject: [PATCH] Fix an spl nit. --- sys/kern/vfs_aio.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index c1f619a97e1..c52d970f527 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -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 @@ restart2: 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 @@ restart3: splx(s); goto restart3; } + splx(s); restart4: s = splbio();