mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-10 16:20:59 +00:00
Merge pull request #321 from mcellis33/320
320: delete stat cache entry in s3fs_fsync so st_size is refreshed
This commit is contained in:
commit
ea151a70c4
@ -2170,6 +2170,9 @@ static int s3fs_fsync(const char* path, int datasync, struct fuse_file_info* fi)
|
||||
}
|
||||
S3FS_MALLOCTRIM(0);
|
||||
|
||||
// Issue 320: Delete stat cache entry because st_size may have changed.
|
||||
StatCache::getStatCacheData()->DelStat(path);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user