gefs: use freeblk() instead of freebp() when we already have the block

This commit is contained in:
cinap_lenrek 2025-01-05 21:28:04 +00:00
parent e0358fd432
commit 66d2e1ac59

View file

@ -2616,7 +2616,7 @@ freetree(Bptr rb, vlong pred)
} }
} }
if(rb.gen > pred) if(rb.gen > pred)
freebp(nil, rb); /* wouldn't freeblk() be better here? */ freeblk(nil, b);
dropblk(b); dropblk(b);
} }