Renamed bshrub.shrub[_] -> bshrub.b[_]

Mostly for consistency with mtrv.b and gbmap.b, but also (1) this
hopefully reduces confusion around the fact that these can refer to both
bshrubs and btrees, and (2) saves a bit of typing with the messy struct
namespaces forced by C's strict aliasing.
This commit is contained in:
Christopher Haster
2025-11-08 12:36:25 -06:00
parent 52a67f66f9
commit e9f2944573
3 changed files with 95 additions and 95 deletions
+2 -2
View File
@@ -812,9 +812,9 @@ typedef struct lfs3_bshrub {
// trunk=0 => no bshrub/btree
// sign(trunk)=1 => bshrub
// sign(trunk)=0 => btree
lfs3_btree_t shrub;
lfs3_btree_t b;
#ifndef LFS3_RDONLY
lfs3_shrub_t shrub_;
lfs3_shrub_t b_;
#endif
} lfs3_bshrub_t;