ref: a636ebee593cce00f86705677f797d71bb3a1452
parent: f524735fa755e6e981810777b32045c98cd4fde0
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Nov 23 12:34:04 EST 2025
gefs: update deadlist tail on merge if we don't update d->tl, we would clobber the chain, possibly leaking blocks from the snapshot.
--- a/sys/src/cmd/gefs/snap.c
+++ b/sys/src/cmd/gefs/snap.c
@@ -238,6 +238,7 @@
}
b = getblk(d->tl, 0);
b->logp = m->hd;
+ d->tl = m->tl;
assert(d->hd.addr != m->hd.addr);
finalize(b);
syncblk(b);
--
⑨