From 669cfcc1b97b1031ed5f4c1a5619456c84b11456 Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Wed, 11 Dec 2024 07:45:21 +0900 Subject: [PATCH] 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 6c8873b15f0..f01a8ab6031 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) {