vfs/rump: enable update mtime

Although support was added some time ago (#1784) the commit missed
executing the code from the 'Vfs::File_system' interface.

Fixes #4371.
This commit is contained in:
Josef Söntgen 2022-01-04 14:48:40 +01:00 committed by Christian Helmuth
parent 426f52068b
commit 713c841965

View File

@ -824,8 +824,13 @@ class Vfs::Rump_file_system : public File_system
}
bool update_modification_timestamp(Vfs_handle *vfs_handle,
Vfs::Timestamp ts)
Vfs::Timestamp ts) override
{
Rump_vfs_file_handle *handle =
dynamic_cast<Rump_vfs_file_handle *>(vfs_handle);
if (handle)
handle->update_modification_timestamp(ts);
return true;
}
};