Add block_count and block_size to fsinfo

This commit is contained in:
Brian Pugh
2023-08-20 11:53:18 -07:00
parent d6c0c6a786
commit d6098bd3ce
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -4575,6 +4575,9 @@ static int lfs_fs_rawstat(lfs_t *lfs, struct lfs_fsinfo *fsinfo) {
fsinfo->file_max = lfs->file_max;
fsinfo->attr_max = lfs->attr_max;
fsinfo->block_count = lfs->block_count;
fsinfo->block_size = lfs->cfg->block_size;
return 0;
}