mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 11:27:29 +00:00
server/vfs: status completes or throw Invalid_handle
The 'status' RPC method of the File_system session must complete successfully or throw 'Invalid_handle' for any error. Ref #2512
This commit is contained in:
parent
8207fb8d98
commit
488396e78b
@ -515,7 +515,7 @@ class Vfs_server::Session_component : public File_system::Session_rpc_object,
|
||||
Directory_service::Stat vfs_stat;
|
||||
|
||||
if (_vfs.stat(node.path(), vfs_stat) != Directory_service::STAT_OK)
|
||||
return;
|
||||
throw Invalid_handle();
|
||||
|
||||
fs_stat.inode = vfs_stat.inode;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user