From ddc0caa6056ce84ceab6f58ee7c8558bd4f33070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 26 Mar 2020 10:33:13 +0100 Subject: [PATCH] os: remove error messages from FS VFS update mtime The update modification timestamp is implemented as one-shot where the caller is expected to try again if the first attempt failed (see current libc implementation). So the message is misleading as further attempts might succeed. Issue #3713. --- repos/os/src/lib/vfs/fs_file_system.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/repos/os/src/lib/vfs/fs_file_system.h b/repos/os/src/lib/vfs/fs_file_system.h index ea9341d38..5fcb43b38 100644 --- a/repos/os/src/lib/vfs/fs_file_system.h +++ b/repos/os/src/lib/vfs/fs_file_system.h @@ -276,7 +276,6 @@ class Vfs::Fs_file_system : public File_system using ::File_system::Packet_descriptor; if (!source.ready_to_submit()) { - Genode::error(__func__, ":", __LINE__, " Insufficient_buffer"); return false; } @@ -289,7 +288,6 @@ class Vfs::Fs_file_system : public File_system /* pass packet to server side */ source.submit_packet(p); } catch (::File_system::Session::Tx::Source::Packet_alloc_failed) { - Genode::error(__func__, ":", __LINE__, " Insufficient_buffer"); return false; } catch (...) { Genode::error("unhandled exception");