Rename SHRINKIFCHEAP to SHRINKNONRELOCATING

This commit is contained in:
Sosthène Guédon
2025-05-07 10:32:03 +02:00
parent 7782d3dfa3
commit 7d79423972
5 changed files with 8 additions and 8 deletions

2
lfs.h
View File

@@ -766,7 +766,7 @@ int lfs_fs_gc(lfs_t *lfs);
// Grows the filesystem to a new size, updating the superblock with the new
// block count.
//
// If LFS_SHRINKIFCHEAP is defined, this function will also accept
// If LFS_SHRINKNONRELOCATING is defined, this function will also accept
// block_counts smaller than the current configuration, after checking
// that none of the blocks that are being removed are in use.
// Note that littlefs's pseudorandom block allocation means that