diff --git a/src/fuse/IoRing.cc b/src/fuse/IoRing.cc index 7009198d..fe6cc0fa 100644 --- a/src/fuse/IoRing.cc +++ b/src/fuse/IoRing.cc @@ -34,7 +34,7 @@ std::vector IoRing::jobsToProc(int maxJobs) { if (toProc > iod) { toProc = iod; } else if (toProc < iod && timeout.count()) { - auto now = lastCheck_ = SteadyClock::now(); + auto now = SteadyClock::now(); if (!lastCheck_) { // first time to find the (not enough) ios, wait till timeout lastCheck_ = now; break;