projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement a (dumb) cache garbage collector.
[bluesky.git]
/
bluesky
/
file.c
diff --git
a/bluesky/file.c
b/bluesky/file.c
index
94677f6
..
0c92e69
100644
(file)
--- a/
bluesky/file.c
+++ b/
bluesky/file.c
@@
-287,6
+287,9
@@
void bluesky_file_drop_cached(BlueSkyInode *inode)
b->ref->data = NULL;
bluesky_cloudlog_stats_update(b->ref, 1);
}
+ if (b->ref->location_flags & CLOUDLOG_CLOUD) {
+ b->ref->location_flags &= ~CLOUDLOG_JOURNAL;
+ }
g_mutex_unlock(b->ref->lock);
}
}