From 66d2e1ac59a6ff1bc624eed543cb0edd27bbf9c3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 5 Jan 2025 21:28:04 +0000 Subject: [PATCH] gefs: use freeblk() instead of freebp() when we already have the block --- sys/src/cmd/gefs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/gefs/fs.c b/sys/src/cmd/gefs/fs.c index cb4ced506..6b226742a 100644 --- a/sys/src/cmd/gefs/fs.c +++ b/sys/src/cmd/gefs/fs.c @@ -2616,7 +2616,7 @@ freetree(Bptr rb, vlong pred) } } if(rb.gen > pred) - freebp(nil, rb); /* wouldn't freeblk() be better here? */ + freeblk(nil, b); dropblk(b); }