ref: 1f57b3a7d02117e5be29e358353191253f6b0004
parent: 81129e88677f7d4e6b71be8b6aa2f9136caeb617
author: Michael Forney <[email protected]>
date: Sat Mar 12 17:49:12 EST 2022
blk: don't kill snap tree blocks They have no dead list.
--- a/blk.c
+++ b/blk.c
@@ -831,7 +831,7 @@
Bfree *f;
dprint("[%s] free blk %B\n", (t == &fs->snap) ? "snap" : "data", bp);
- if(t != nil && bp.gen <= t->gen){
+ if(t != nil && t != &fs->snap && bp.gen <= t->gen){
killblk(t, bp);
return;
}