btree: Dropped bcommit->bid TODO comment

I was confused, but this commit->bid update is used to limit the
commit->bid to the btree weight. Note we limit the bid after storing it
as the initial rid.
This commit is contained in:
Christopher Haster
2025-07-20 12:35:14 -05:00
parent ae53c326d6
commit e3e719a0f5
-1
View File
@@ -5548,7 +5548,6 @@ static int lfs3_btree_commit_(lfs3_t *lfs3,
// need to limit our bid to an rid in the tree, which
// is what this min is doing
lfs3_min(bcommit->bid, btree->r.weight-1),
// TODO why are we updating commit->bid at this point?
&bcommit->bid, NULL, NULL);
if (tag < 0) {
LFS3_ASSERT(tag != LFS3_ERR_NOENT);