From 713c841965f0d47aebf857d734bd1e45f8d70bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Tue, 4 Jan 2022 14:48:40 +0100 Subject: [PATCH] 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. --- repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc b/repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc index 09e04f628c..2bf7c01ba5 100644 --- a/repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc +++ b/repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc @@ -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(vfs_handle); + if (handle) + handle->update_modification_timestamp(ts); + return true; } };