Fix bug in caching which could cause file corruption for append mode writes
This commit is contained in:
@@ -24,5 +24,6 @@ struct fuse_cache_operations {
|
||||
|
||||
struct fuse_operations *cache_init(struct fuse_cache_operations *oper);
|
||||
int cache_parse_options(struct fuse_args *args);
|
||||
void cache_add_attr(const char *path, const struct stat *stbuf);
|
||||
void cache_add_attr(const char *path, const struct stat *stbuf, uint64_t wrctr);
|
||||
void cache_invalidate(const char *path);
|
||||
uint64_t cache_get_write_ctr(void);
|
||||
|
||||
Reference in New Issue
Block a user