mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
vfs/cbe: fix ID argument on discard_snap
When discarding a snapshot, the CBE VFS plugin didn't communicate the ID of the snapshot to the CBE. Instead it set the ID argument to 0. Therefore the operation never had any effect. Ref #4032
This commit is contained in:
parent
9b953e79ba
commit
88e6991083
@ -1736,7 +1736,7 @@ class Vfs_cbe::Wrapper
|
||||
Genode::log("Req: (req: ", _discard_snapshot_request.cbe_request, ")");
|
||||
}
|
||||
|
||||
_cbe->submit_client_request(_discard_snapshot_request.cbe_request, 0);
|
||||
_cbe->submit_client_request(_discard_snapshot_request.cbe_request, id);
|
||||
|
||||
_discard_snapshot_request.state =
|
||||
Frontend_request::State::IN_PROGRESS;
|
||||
|
Loading…
Reference in New Issue
Block a user