of->is_file = file->is_file;
of->is_link = file->is_link;
of->is_exec = file->is_exec;
+ of->is_directio = file->is_directio;
if (!file->is_dir) {
file->count++;
file->is_file = of->is_file;
file->is_link = of->is_link;
file->is_exec = of->is_exec;
+ file->is_directio = of->is_directio;
if (!of->is_dir) {
file->count++;
of->fd = fd;
if (of->directio <= ngx_file_size(&fi)) {
- if (ngx_directio(fd) == -1) {
+ if (ngx_directio_on(fd) == -1) {
ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
- ngx_directio_n " \"%s\" failed", name);
+ ngx_directio_on_n " \"%s\" failed", name);
} else {
of->is_directio = 1;