mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Remove minimum inodes reqd check (#4747)
This commit is contained in:
@@ -30,10 +30,10 @@ func GetInfo(path string) (info Info, err error) {
|
||||
return Info{}, err
|
||||
}
|
||||
info = Info{}
|
||||
info.Total = int64(s.F_bsize) * int64(s.F_blocks)
|
||||
info.Free = int64(s.F_bsize) * int64(s.F_bavail)
|
||||
info.Files = int64(s.F_files)
|
||||
info.Ffree = int64(s.F_ffree)
|
||||
info.Total = uint64(s.F_bsize) * uint64(s.F_blocks)
|
||||
info.Free = uint64(s.F_bsize) * uint64(s.F_bavail)
|
||||
info.Files = uint64(s.F_files)
|
||||
info.Ffree = uint64(s.F_ffree)
|
||||
info.FSType = getFSType(s.F_fstypename)
|
||||
return info, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user