mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
os/FuseStore: fix statfs
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
b5eb28b649
commit
655b75bab2
@ -984,7 +984,7 @@ static int os_statfs(const char *path, struct statvfs *stbuf)
|
||||
return r;
|
||||
stbuf->f_bsize = s.bsize;
|
||||
stbuf->f_blocks = s.blocks;
|
||||
stbuf->f_bavail = stbuf->f_bfree = s.available / s.blocks;
|
||||
stbuf->f_bavail = stbuf->f_bfree = s.available / s.bsize;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user