]> git.kaiwu.me - nginx.git/commitdiff
Fix of the previous commit: is_directio flag processing introduced in r4077
authorIgor Sysoev <igor@sysoev.ru>
Wed, 14 Sep 2011 14:28:55 +0000 (14:28 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 14 Sep 2011 14:28:55 +0000 (14:28 +0000)
is still worthwhile.

src/core/ngx_open_file_cache.c

index 1306d14b037e4190667bcc4e6f3822037d0a7b39..0d605b527fbee2a2cb61e4c13687065089d482e5 100644 (file)
@@ -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;
             }