mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 20:28:20 +00:00
vfs: remove 'Io_response_handler' interface
The old 'Io_response_handler::io_progress_response' interface has been replaced by the 'Vfs::Env::User::wakeup_vfs_user' (issue #4697). The remaining 'read_ready_response' method is now hosted in the appropriately named 'Read_ready_response_handler'. Issue #4706
This commit is contained in:
committed by
Christian Helmuth
parent
74e6370187
commit
25e4bcefbf
@ -314,7 +314,7 @@ class Vfs::Dir_file_system : public File_system
|
||||
vfs_handle.seek(index * sizeof(Dirent));
|
||||
|
||||
/* forward the response handler */
|
||||
dir_vfs_handle->apply_handler([&] (Vfs::Io_response_handler &h) {
|
||||
dir_vfs_handle->apply_handler([&] (Vfs::Read_ready_response_handler &h) {
|
||||
vfs_handle.handler(&h); });
|
||||
|
||||
result = vfs_handle.fs().queue_read(&vfs_handle, sizeof(Dirent));
|
||||
@ -998,7 +998,7 @@ class Vfs::Dir_file_system : public File_system
|
||||
|
||||
auto f = [&result, dir_vfs_handle] (Dir_vfs_handle::Subdir_handle_element &e) {
|
||||
/* forward the response handler */
|
||||
dir_vfs_handle->apply_handler([&] (Io_response_handler &h) {
|
||||
dir_vfs_handle->apply_handler([&] (Read_ready_response_handler &h) {
|
||||
e.vfs_handle.handler(&h); });
|
||||
e.synced = false;
|
||||
|
||||
|
Reference in New Issue
Block a user