changeset 4101:31cf2902de60

Fix of the previous commit: is_directio flag processing introduced in r4077 is still worthwhile.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Sep 2011 14:28:55 +0000
parents efeee901439a
children bac8ba08a657
files src/core/ngx_open_file_cache.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
                     file->use_event = 1;
                 }
 
+                of->is_directio = file->is_directio;
+
                 goto update;
             }