# HG changeset patch # User Timo Sirainen # Date 1200130547 -7200 # Node ID dd64c0e649aadd85f9c259db467c7f29b1d66a8a # Parent 5587fcd836363d538f8b9ecd7e1032a0dfa22993 nfs_flush_file_handle_cache_dir: If rmdir() fails with EACCES, the cache is flushed. 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 @@ "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;