mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
posix: checkDiskFree() also checks free inodes. (#2086)
Previously checkDiskFree() checks for free available space. This patch enables checkDiskFree() also checks for free inodes in linux and free clusters in windows. Fixes #2075
This commit is contained in:
@@ -23,5 +23,7 @@ package disk
|
||||
type Info struct {
|
||||
Total int64
|
||||
Free int64
|
||||
Files int64
|
||||
Ffree int64
|
||||
FSType string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user