Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-09-14 18:28:55 +0400
committerIgor Sysoev <igor@sysoev.ru>2011-09-14 18:28:55 +0400
commit9c5d25179cbda4968962fb2bd8dcbc8e417b7b85 (patch)
tree6768919549ad1fbfa6aade70b7dd0c12152ca785 /src/core/ngx_open_file_cache.c
parent7ffb73c6b78aa40eafd6589b68f2ce613b86cc00 (diff)
Fix of the previous commit: is_directio flag processing introduced in r4077
is still worthwhile.
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
-rw-r--r--src/core/ngx_open_file_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c
index 1306d14b0..0d605b527 100644
--- a/src/core/ngx_open_file_cache.c
+++ b/src/core/ngx_open_file_cache.c
@@ -288,6 +288,8 @@ ngx_open_cached_file(ngx_open_file_cache_t *cache, ngx_str_t *name,
file->use_event = 1;
}
+ of->is_directio = file->is_directio;
+
goto update;
}