From e5ad8074f237432f9f500a3f5301b4ce3493f43c Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 29 Apr 1994 03:56:26 +0000 Subject: [PATCH] minor code structure nit that i pointed out to hibler a while ago... --- sys/vm/swap_pager.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 334a9f28aeb6..2904fa2f1257 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: swap_pager.c 1.4 91/04/30$ * * from: @(#)swap_pager.c 8.1 (Berkeley) 6/11/93 - * $Id: swap_pager.c,v 1.18 1994/04/15 18:02:02 cgd Exp $ + * $Id: swap_pager.c,v 1.19 1994/04/29 03:56:26 cgd Exp $ */ /* @@ -750,15 +750,13 @@ swap_pager_clean(m, rw) tspc = spc; } } + splx(s); /* * No operations done, thats all we can do for now. */ - if (spc == NULL) { - splx(s); + if (spc == NULL) break; - } - splx(s); /* * The desired page was found to be busy earlier in