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.
This commit is contained in:
Josef Söntgen 2020-03-26 10:33:29 +01:00 committed by Christian Helmuth
parent ddc0caa605
commit df553e9360

View File

@ -289,9 +289,6 @@ class Vfs::Fs_file_system : public File_system
source.submit_packet(p); source.submit_packet(p);
} catch (::File_system::Session::Tx::Source::Packet_alloc_failed) { } catch (::File_system::Session::Tx::Source::Packet_alloc_failed) {
return false; return false;
} catch (...) {
Genode::error("unhandled exception");
return false;
} }
return true; return true;