final
This commit is contained in:
Родитель
73677f24c4
Коммит
a584a0f31a
|
@ -333,8 +333,6 @@ func (bc *BlockCache) StatFs() (*syscall.Statfs_t, bool, error) {
|
|||
statfs.Bavail = uint64(math.Max(0, available)) / uint64(bc.blockSize)
|
||||
statfs.Bfree = statfs.Bavail
|
||||
|
||||
log.Debug("BlockCache::StatFs : Blocks [%d], Bavail [%d], Bfree [%d]", statfs.Blocks, statfs.Bavail, statfs.Bfree)
|
||||
|
||||
return statfs, true, nil
|
||||
}
|
||||
|
||||
|
|
|
@ -363,8 +363,6 @@ func (c *FileCache) StatFs() (*syscall.Statfs_t, bool, error) {
|
|||
statfs.Bavail = uint64(math.Max(0, available)) / uint64(statfs.Frsize)
|
||||
statfs.Bfree = statfs.Bavail
|
||||
|
||||
log.Debug("BlockCache::StatFs : Blocks [%d], Bavail [%d], Bfree [%d]", statfs.Blocks, statfs.Bavail, statfs.Bfree)
|
||||
|
||||
return statfs, true, nil
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче