This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 669cfcc1b9 Do not touch fd from StripeSM::handle_dir_clear (#11906)
669cfcc1b9 is described below
commit 669cfcc1b97b1031ed5f4c1a5619456c84b11456
Author: Masaori Koshiba <[email protected]>
AuthorDate: Wed Dec 11 07:45:21 2024 +0900
Do not touch fd from StripeSM::handle_dir_clear (#11906)
---
src/iocore/cache/StripeSM.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/iocore/cache/StripeSM.cc b/src/iocore/cache/StripeSM.cc
index 6c8873b15f..f01a8ab603 100644
--- a/src/iocore/cache/StripeSM.cc
+++ b/src/iocore/cache/StripeSM.cc
@@ -216,7 +216,6 @@ StripeSM::handle_dir_clear(int event, void *data)
if (!op->ok()) {
Warning("unable to clear cache directory '%s'", hash_text.get());
disk->incrErrors(op);
- fd = -1;
}
if (op->aiocb.aio_nbytes == dir_len) {