dovecot: nfs_flush_file_handle_cache_dir: If rmdir() fails with ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Jan 12 11:35:52 EET 2008
details: http://hg.dovecot.org/dovecot/rev/dd64c0e649aa
changeset: 7155:dd64c0e649aa
user: Timo Sirainen <tss at iki.fi>
date: Sat Jan 12 11:35:47 2008 +0200
description:
nfs_flush_file_handle_cache_dir: If rmdir() fails with EACCES, the cache is
flushed.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/nfs-workarounds.c | 2 +-
diffs (12 lines):
diff -r 5587fcd83636 -r dd64c0e649aa src/lib/nfs-workarounds.c
--- 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 @@ static bool nfs_flush_file_handle_cache_
"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;
More information about the dovecot-cvs
mailing list