Renamed lfsr_fs_size -> lfsr_fs_usage

This better matches how other filesystems refer to the number of in-use
blocks.

Which makes sense when you consider that "size" could also refer to the
configured block_count. The term "usage" avoids this ambiguity.
This commit is contained in:
Christopher Haster
2025-05-01 00:37:07 -05:00
parent 4a50c5c9ce
commit 9f2f0b92e9
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -14406,7 +14406,7 @@ int lfsr_fs_stat(lfs_t *lfs, struct lfs_fsinfo *fsinfo) {
return 0;
}
lfs_ssize_t lfsr_fs_size(lfs_t *lfs) {
lfs_ssize_t lfsr_fs_usage(lfs_t *lfs) {
lfs_size_t count = 0;
lfsr_traversal_t t;
lfsr_traversal_init(&t, 0);