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

@@ -260,6 +260,7 @@ fskickreply(Conv *c)
static int inuse[nelem(dirtab)];
int *confirminuse = &inuse[0];
int *needkeyinuse = &inuse[1];
int *loginuse = &inuse[5];
static void
fsopen(Req *r)
{