aboutsummaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-02-16 17:02:25 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-02-16 17:02:25 +0000
commit8468900705cdaeac62430374d9bc354c732c7042 (patch)
tree9a1723c9cde5cc3ee17ba5aa0ef41a3c81736b4b /cache.c
parentb60a970602a276854ca7c0bebd4f0863909872fb (diff)
downloadsshfs-8468900705cdaeac62430374d9bc354c732c7042.tar
sshfs-8468900705cdaeac62430374d9bc354c732c7042.tar.gz
sshfs-8468900705cdaeac62430374d9bc354c732c7042.tar.bz2
sshfs-8468900705cdaeac62430374d9bc354c732c7042.zip
fix
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.c b/cache.c
index fae5fd4..776c778 100644
--- a/cache.c
+++ b/cache.c
@@ -101,7 +101,7 @@ static void cache_purge_parent(const char *path)
}
}
-static void cache_invalidate(const char *path)
+void cache_invalidate(const char *path)
{
pthread_mutex_lock(&cache.lock);
cache_purge(path);
@@ -137,7 +137,7 @@ static struct node *cache_get(const char *path)
return node;
}
-static void cache_add_attr(const char *path, const struct stat *stbuf)
+void cache_add_attr(const char *path, const struct stat *stbuf)
{
struct node *node;
time_t now;