diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-02-16 17:02:25 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-02-16 17:02:25 +0000 |
commit | 8468900705cdaeac62430374d9bc354c732c7042 (patch) | |
tree | 9a1723c9cde5cc3ee17ba5aa0ef41a3c81736b4b /cache.c | |
parent | b60a970602a276854ca7c0bebd4f0863909872fb (diff) | |
download | sshfs-8468900705cdaeac62430374d9bc354c732c7042.tar sshfs-8468900705cdaeac62430374d9bc354c732c7042.tar.gz sshfs-8468900705cdaeac62430374d9bc354c732c7042.tar.bz2 sshfs-8468900705cdaeac62430374d9bc354c732c7042.zip |
fix
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |