Fixed a bug utimens is calling before flush

This commit is contained in:
Takeshi Nakatani 2021-06-20 06:21:28 +00:00 committed by Andrew Gaul
parent c4ac923b4c
commit 5b6684ca19

View File

@ -1745,7 +1745,7 @@ bool FdEntity::MergeOrgMeta(headers_t& updatemeta)
if(0 <= atime.tv_sec){ if(0 <= atime.tv_sec){
SetAtime(atime, true); SetAtime(atime, true);
} }
is_meta_pending |= IsUploading(true); is_meta_pending |= (IsUploading(true) || pagelist.IsModified());
return is_meta_pending; return is_meta_pending;
} }