diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-09-14 14:28:55 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-09-14 14:28:55 +0000 |
commit | 9c5d25179cbda4968962fb2bd8dcbc8e417b7b85 (patch) | |
tree | 6768919549ad1fbfa6aade70b7dd0c12152ca785 /src/core/ngx_open_file_cache.c | |
parent | 7ffb73c6b78aa40eafd6589b68f2ce613b86cc00 (diff) | |
download | nginx-9c5d25179cbda4968962fb2bd8dcbc8e417b7b85.tar.gz nginx-9c5d25179cbda4968962fb2bd8dcbc8e417b7b85.zip |
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.c | 2 |
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; } |