mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
ffat_fs: don't throw exception in 'close()'
The 'close()' function is not supposed to throw any exceptions. Fixes #304.
This commit is contained in:
parent
fa541b4545
commit
c708a28eff
@ -538,7 +538,8 @@ namespace File_system {
|
||||
try {
|
||||
node = _handle_registry.lookup(handle);
|
||||
} catch(Invalid_handle) {
|
||||
throw Lookup_failed();
|
||||
PERR("close() called with invalid handle");
|
||||
return;
|
||||
}
|
||||
|
||||
PDBGV("name = %s", node->name());
|
||||
|
Loading…
x
Reference in New Issue
Block a user