Commit 87711558 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a bug.

parent df671c90
......@@ -204,6 +204,10 @@ func (fs *memFS) StatFS(
op.InodesFree = Capacity_Files
for _, in := range fs.inodes {
if in == nil {
continue
}
op.InodesFree--
op.BlocksFree -= in.attrs.Size
op.BlocksAvailable -= in.attrs.Size
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment