commit ba49132121060c8e6a494d2e47d94a5e50ffb54f
parent daeda3a6d49888c30783421f8936bc4ded14812b
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date: Sun, 13 Nov 2022 08:49:22 +0100
os9: Unlock tasks in procfsgen()
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/os9/dev/devproc.c b/src/os9/dev/devproc.c
@@ -38,6 +38,7 @@ procfsgen(Chan *c, Dirtab *tab, int ntab, int n, Dir *dir)
nam, 0,
QID(CHDIR, 0, PATH(Qtaskdir, tp->tid)),
O_READ);
+ unlock(&tp->m);
return 1;
}