mirror of
https://github.com/pgsty/minio.git
synced 2026-08-12 09:40:28 +03:00
posix: remove dead code related to posix reserved suffixes. (#1555)
This commit is contained in:
committed by
Harshavardhana
parent
9d41414fb5
commit
6627388dc3
@@ -57,7 +57,7 @@ func readDir(dirPath string) (entries []string, err error) {
|
||||
}
|
||||
for _, fi := range fis {
|
||||
// Skip special files.
|
||||
if hasReservedPrefix(fi.Name()) || hasReservedSuffix(fi.Name()) {
|
||||
if hasPosixReservedPrefix(fi.Name()) {
|
||||
continue
|
||||
}
|
||||
if fi.Mode().IsDir() {
|
||||
|
||||
Reference in New Issue
Block a user