mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 13:48:17 +00:00
vfs: pass root directory to plugins
This patch enables the use of the VFS from VFS plugins by passing a reference of the root directory to the constructors of file-system instances. Since it changes the signature of 'Vfs::Dir_file_system', any code that uses the VFS directly requires an adaptation. Fixes #2701
This commit is contained in:
committed by
Christian Helmuth
parent
f61c0c6309
commit
b0b92e4ee2
@ -1718,7 +1718,8 @@ struct Lxip_factory : Vfs::File_system_factory
|
||||
Vfs::File_system *create(Genode::Env &env,
|
||||
Genode::Allocator &alloc,
|
||||
Genode::Xml_node config,
|
||||
Vfs::Io_response_handler &io_handler) override
|
||||
Vfs::Io_response_handler &io_handler,
|
||||
Vfs::File_system &) override
|
||||
{
|
||||
static Init inst(env, alloc);
|
||||
return new (alloc) Vfs::Lxip_file_system(env, alloc, config, io_handler);
|
||||
|
Reference in New Issue
Block a user