mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 15:18:20 +00:00
Reduce Vfs::Vfs_handle::Context to empty struct type
The "Vfs::Vfs_handle" type should not contain any public members that can be initialized by the VFS internally and by the application, so remove inheritance from the "Genode::list::Element" class. The VFS plugins must instead use lists of "Vfs::Vfs_handle" sub-classes, the lifetime of which are always managed by the plugin. Ref #3036
This commit is contained in:
committed by
Norman Feske
parent
260fc30be3
commit
800b4e44b1
@ -380,7 +380,7 @@ static void poll_all()
|
||||
{
|
||||
Vfs::Lxip_vfs_file_handle *handle = le->object();
|
||||
if (handle->file)
|
||||
handle->file->poll(true, handle->context);
|
||||
handle->file->poll(true, handle->context());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user