mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-10 14:34:38 +00:00
parent
2a0e45d0f7
commit
05e5ecca86
@ -659,9 +659,15 @@ class Vfs::Dir_file_system : public File_system
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
new (dir_vfs_handle.alloc())
|
try {
|
||||||
Dir_vfs_handle::Subdir_handle_element(
|
new (dir_vfs_handle.alloc())
|
||||||
dir_vfs_handle.subdir_handle_registry, *sub_dir_handle);
|
Dir_vfs_handle::Subdir_handle_element(
|
||||||
|
dir_vfs_handle.subdir_handle_registry, *sub_dir_handle);
|
||||||
|
}
|
||||||
|
catch (...) {
|
||||||
|
sub_dir_handle->close();
|
||||||
|
throw;
|
||||||
|
}
|
||||||
/* return OK because at least one directory has been opened */
|
/* return OK because at least one directory has been opened */
|
||||||
res = OPENDIR_OK;
|
res = OPENDIR_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user