Skip to content

Commit

Permalink
Do not touch fd from StripeSM::handle_dir_clear (#11906)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaori335 authored Dec 10, 2024
1 parent 599212a commit 669cfcc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/iocore/cache/StripeSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 669cfcc

Please sign in to comment.