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…
Reference in New Issue
Block a user