diff --git a/cmd/posix-list-dir_unix.go b/cmd/posix-list-dir_unix.go index 13df56471..c3bec5f44 100644 --- a/cmd/posix-list-dir_unix.go +++ b/cmd/posix-list-dir_unix.go @@ -58,7 +58,6 @@ func parseDirEnt(buf []byte) (consumed int, name string, typ os.FileMode, err er // to handle such files, MinIO is only interested in // files and directories. typ = unexpectedFileMode - return } nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))