]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed disk file leak. UFS-based disk files were not always closed
authorwessels <>
Fri, 13 Apr 2007 00:05:20 +0000 (00:05 +0000)
committerwessels <>
Fri, 13 Apr 2007 00:05:20 +0000 (00:05 +0000)
commitbdf5b250c38857b5317e424d1de3664d379b2f12
tree4b8d6d1c058ecadfddbdcdf963e248a8dd8f0c3c
parent6a786390fc10775fc9b9d28da2daacdabf36a649
Fixed disk file leak.  UFS-based disk files were not always closed
because the storeClose() may be called when an I/O request is pending.
With this fix, UFSStoreState::writeCompleted now calls tryClosing()
if the try_closing flag is set.
src/fs/ufs/store_io_ufs.cc
src/store_io.cc