mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
turn-off Nlink readdir() optimization for NFS/CIFS (#19420)
fixes #19418 fixes #19416
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
package cmd
|
||||
|
||||
// isDirEmpty - returns true if there is no error and no object and prefix inside this directory
|
||||
func isDirEmpty(dirname string) bool {
|
||||
func isDirEmpty(dirname string, _ bool) bool {
|
||||
entries, err := readDirN(dirname, 1)
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user