Arun Prakash Jana 2019-11-18 19:54:14 +05:30
parent 0ef9ec196e
commit 8705cb99a3
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -3512,6 +3512,8 @@ static int dentfill(char *path, struct entry **dents)
open_max = max_openfds();
}
posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL);
dp = readdir(dirp);
if (!dp)
goto exit;