tmpfs: Update mtime on writes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-08-08 13:36:25 +02:00
parent 4195e7f206
commit 1481a4736a
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -45,6 +45,8 @@ namespace TmpFS
inode->did_link();
m_metadata.mtime = *Timer::realtime_clock();
return {};
}
@ -61,6 +63,8 @@ namespace TmpFS
inode->did_unlink();
m_metadata.mtime = *Timer::realtime_clock();
return {};
}
@ -114,6 +118,8 @@ namespace TmpFS
m_metadata.size = m_data_buffer.size();
m_metadata.mtime = *Timer::realtime_clock();
return length;
}
@ -127,6 +133,8 @@ namespace TmpFS
m_metadata.size = m_data_buffer.size();
m_metadata.mtime = *Timer::realtime_clock();
return {};
}