mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-10 16:20:59 +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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ent->UpdateCtime();
|
||||||
}else{
|
}else{
|
||||||
// Not found -> Make tmpfile(with size)
|
// Not found -> Make tmpfile(with size)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user