From: wessels <> Date: Mon, 6 Mar 2000 23:24:56 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~2062 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97de0ec7537e71a4f9284766ebaa046e17a7a6e6;p=thirdparty%2Fsquid.git DW: - We're passing -1 swapfile number to storeDirDiskFull becuse the swapfile number got reset earlier. Need to pass the 'bad' swapfile number instead.. --- diff --git a/src/store_swapout.cc b/src/store_swapout.cc index 66285c4458..baa5cab967 100644 --- a/src/store_swapout.cc +++ b/src/store_swapout.cc @@ -1,6 +1,6 @@ /* - * $Id: store_swapout.cc,v 1.62 2000/03/06 16:23:35 wessels Exp $ + * $Id: store_swapout.cc,v 1.63 2000/03/06 16:24:56 wessels Exp $ * * DEBUG: section 20 Storage Manager Swapout Functions * AUTHOR: Duane Wessels @@ -245,7 +245,7 @@ storeSwapOutFileClosed(void *data, int errflag, storeIOState * sio) if (errno == EPERM) storeDirMapBitSet(bad); if (errflag == DISK_NO_SPACE_LEFT) { - storeDirDiskFull(e->swap_file_number); + storeDirDiskFull(bad); storeDirConfigure(); storeConfigure(); }