mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:45:08 +00:00
Kernel/TmpFS: Update mtime instead of ctime when asked to update mtime
This commit is contained in:
parent
10fa72d451
commit
a9d55ddf57
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ ErrorOr<void> TmpFSInode::update_timestamps(Optional<Time> atime, Optional<Time>
|
|||
if (ctime.has_value())
|
||||
m_metadata.ctime = ctime.value();
|
||||
if (mtime.has_value())
|
||||
m_metadata.ctime = mtime.value();
|
||||
m_metadata.mtime = mtime.value();
|
||||
set_metadata_dirty(true);
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue