rbyd: Renamed LFS_ASSERTRBYDBALANCE -> LFS_DEBUGRBYDBALANCE

This name helps avoid the mistake the that LFS_ASSERTRBYDBALANCE is
cheap/free like other asserts, which is very much not true.
LFS_DEBUGRBYDBALANCE is expensive and should only be used for testing.
This commit is contained in:
Christopher Haster
2025-01-27 23:33:45 -06:00
parent dbf0b5ebb1
commit 558911693b
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2939,7 +2939,7 @@ static int lfsr_rbyd_fetch_(lfs_t *lfs,
// asserting rbyd balance? check that all branches in the rbyd have
// the same height
#ifdef LFS_ASSERTRBYDBALANCE
#ifdef LFS_DEBUGRBYDBALANCE
lfsr_srid_t rid = -1;
lfsr_tag_t tag = 0;
lfs_ssize_t height = -1;