ref: 1d897e08bc751d93063846e5d9d2da5c0355a842
parent: 316027876e3aec127a377f75dc98bec3faf2a329
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Sep 1 18:11:22 EDT 2023
snap: we only want to set ins when we're creating a new block
--- a/snap.c
+++ b/snap.c
@@ -93,8 +93,6 @@
/* load up existing dlist */
if(btlookup(&fs->snap, &k, &kv, kvbuf, sizeof(kvbuf))){
kv2dlist(&kv, dl);
- if(dl->hd.addr != -1)
- dl->ins = getblk(dl->hd, 0);
goto Found;
}