Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-index/mail-cache.c @ 6857:41911abe6fa7 HEAD
NFS cache flushing updates.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 25 Nov 2007 15:47:36 +0200 |
parents | 0c970b3493ac |
children | 414c9d631a81 |
comparison
equal
deleted
inserted
replaced
6856:a249d916f6e6 | 6857:41911abe6fa7 |
---|---|
108 return TRUE; | 108 return TRUE; |
109 | 109 |
110 /* see if the file has changed */ | 110 /* see if the file has changed */ |
111 if (cache->index->nfs_flush) { | 111 if (cache->index->nfs_flush) { |
112 i_assert(!cache->locked); | 112 i_assert(!cache->locked); |
113 nfs_flush_attr_cache_unlocked(cache->filepath); | 113 nfs_flush_file_handle_cache(cache->filepath); |
114 } | 114 } |
115 if (nfs_safe_stat(cache->filepath, &st) < 0) { | 115 if (nfs_safe_stat(cache->filepath, &st) < 0) { |
116 mail_cache_set_syscall_error(cache, "stat()"); | 116 mail_cache_set_syscall_error(cache, "stat()"); |
117 return TRUE; | 117 return TRUE; |
118 } | 118 } |