mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
Update ctime when truncating file (#1619)
Found via pjdfstests. References #1589.
This commit is contained in:
parent
ed2e877bb6
commit
23e1fbf7b9
@ -2161,6 +2161,7 @@ static int s3fs_truncate(const char* _path, off_t size)
|
||||
return result;
|
||||
}
|
||||
|
||||
ent->UpdateCtime();
|
||||
}else{
|
||||
// Not found -> Make tmpfile(with size)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user