aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sshfs.c b/sshfs.c
index 6948663..21393f1 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -2591,21 +2591,11 @@ static int sshfs_open_common(const char *path, mode_t mode,
}
if (!err) {
-#ifdef __APPLE__
- if (cache_enabled)
- cache_add_attr(path, &stbuf, wrctr);
-#else
cache_add_attr(path, &stbuf, wrctr);
-#endif
buf_finish(&sf->handle);
fi->fh = (unsigned long) sf;
} else {
-#ifdef __APPLE__
- if (cache_enabled)
- cache_invalidate(path);
-#else
cache_invalidate(path);
-#endif
g_free(sf);
}
buf_free(&buf);