提交 ff5a767d 编写于 作者: M Minglei Jin

[TD-3038]<fix>: fix incorrect disk free size calculation

上级 16dfe580
......@@ -52,7 +52,7 @@ int tfsUpdateDiskInfo(SDisk *pDisk) {
}
pDisk->dmeta.size = diskSize.tsize;
pDisk->dmeta.free = diskSize.tsize - diskSize.avail;
pDisk->dmeta.free = diskSize.avail;
return code;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册