shithub: gefs

Download patch

ref: bf2b4ed8e73e635d7417dbd8c41720d21fa7fa1b
parent: 98d491b0e50f2dda669d5b8acdf4c0bad87590f9
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Nov 8 00:44:59 EST 2023

fs: clunk dent when duping fid

--- a/fs.c
+++ b/fs.c
@@ -1123,6 +1123,7 @@
 			ainc(&mnt->ref);
 			f->mnt = mnt;
 		}
+		clunkdent(f->dent);
 		f->qpath = r.wqid[i-1].path;
 		f->pqpath = up;
 		f->dent = dent;