ref: d7659c975f3585d247dc832ec377663bebc7c2c0
parent: f595562c5863fbc6a031acb7cc0be337a9cf5ea0
author: Michael Forney <mforney@mforney.org>
date: Thu Feb 10 01:17:58 EST 2022
fs: add missing rlock around Dent access
--- a/fs.c
+++ b/fs.c
@@ -801,7 +801,9 @@
e = nil;
up = o->qpath;
prev = o->qpath;
+ rlock(o->dent);
d = *o->dent;
+ runlock(o->dent);
duid = d.uid;
dgid = d.gid;
dmode = d.mode;