Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7155:dd64c0e649aa HEAD
nfs_flush_file_handle_cache_dir: If rmdir() fails with EACCES, the cache is
flushed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 12 Jan 2008 11:35:47 +0200 |
parents | 5587fcd83636 |
children | 5dda06c19eb1 |
files | src/lib/nfs-workarounds.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/nfs-workarounds.c Sat Jan 12 10:59:25 2008 +0200 +++ b/src/lib/nfs-workarounds.c Sat Jan 12 11:35:47 2008 +0200 @@ -293,7 +293,7 @@ "removed the dir. mkdir() failed: %m", path); } } else if (errno == ESTALE || errno == ENOTDIR || - errno == ENOTEMPTY || errno == EEXIST) { + errno == ENOTEMPTY || errno == EEXIST || errno == EACCES) { /* expected failures */ } else if (errno == ENOENT) { return FALSE;