This is an automated email from the ASF dual-hosted git repository.
cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 8b9ef31fd0 Do not touch fd from StripeSM::handle_dir_clear (#11906)
(#11909)
8b9ef31fd0 is described below
commit 8b9ef31fd0e3323614d3f2aed8a739f952085903
Author: Masaori Koshiba <[email protected]>
AuthorDate: Fri Dec 13 09:34:15 2024 +0900
Do not touch fd from StripeSM::handle_dir_clear (#11906) (#11909)
(cherry picked from commit 669cfcc1b97b1031ed5f4c1a5619456c84b11456)
Conflicts:
src/iocore/cache/StripeSM.cc
---
src/iocore/cache/Stripe.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/iocore/cache/Stripe.cc b/src/iocore/cache/Stripe.cc
index c0c478ab7d..b7e793012b 100644
--- a/src/iocore/cache/Stripe.cc
+++ b/src/iocore/cache/Stripe.cc
@@ -268,7 +268,6 @@ Stripe::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) {