From df553e93605986a500a273df16226211cdc316c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 26 Mar 2020 10:33:29 +0100 Subject: [PATCH] os: remove catch-all from FS VFS update mtime Only 'alloc_packet' is supposed to throw an exception, which is already caught. The 'submit_packet' call does not need further handling. Issue #3713. --- repos/os/src/lib/vfs/fs_file_system.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/repos/os/src/lib/vfs/fs_file_system.h b/repos/os/src/lib/vfs/fs_file_system.h index 5fcb43b388..8e59b6c1ca 100644 --- a/repos/os/src/lib/vfs/fs_file_system.h +++ b/repos/os/src/lib/vfs/fs_file_system.h @@ -289,9 +289,6 @@ class Vfs::Fs_file_system : public File_system source.submit_packet(p); } catch (::File_system::Session::Tx::Source::Packet_alloc_failed) { return false; - } catch (...) { - Genode::error("unhandled exception"); - return false; } return true;