]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Mon, 6 Mar 2000 23:24:56 +0000 (23:24 +0000)
committerwessels <>
Mon, 6 Mar 2000 23:24:56 +0000 (23:24 +0000)
 - We're passing -1 swapfile number to storeDirDiskFull becuse the
   swapfile number got reset earlier.  Need to pass the 'bad' swapfile
   number instead..

src/store_swapout.cc

index 66285c44588bf8404a5ed4522a067cccb4238cc9..baa5cab967f4070596fa710b826cb42b7617740a 100644 (file)
@@ -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();
        }