fix(storage): keep storage info RPC map encoded (#2942)

Co-authored-by: cxymds <Cxymds@qq.com>
This commit is contained in:
weisd
2026-05-13 14:19:43 +08:00
committed by GitHub
parent 9b83de53e1
commit c5125b20bd
2 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ impl LocalDisk {
total: info.total,
free: info.free,
used: info.used,
used_inodes: info.files - info.ffree,
used_inodes: info.files.saturating_sub(info.ffree),
free_inodes: info.ffree,
major: info.major,
minor: info.minor,