factotum: fix log read inuse bug

When log reading exits, inuse flag should be cleared.

Signed-off-by: Tw <wei.tan@intel.com>
This commit is contained in:
Tw
2021-07-12 11:21:00 +08:00
committed by Dan Cross
parent c57b71966e
commit 9dab36f2af
3 changed files with 3 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ void
logflush(Req *r)
{
lbflush(&logbuf, r);
*loginuse = 0;
}
void