mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
vfs: handle unsupported watch exception
This commit is contained in:
parent
1113c4f6a2
commit
32323abe8e
@ -866,6 +866,7 @@ class Vfs::Fs_file_system : public File_system
|
||||
::File_system::Watch_handle fs_handle { -1U };
|
||||
|
||||
try { fs_handle = _fs.watch(path); }
|
||||
catch (Unavailable) { return WATCH_ERR_UNACCESSIBLE; }
|
||||
catch (Lookup_failed) { return WATCH_ERR_UNACCESSIBLE; }
|
||||
catch (Permission_denied) { return WATCH_ERR_STATIC; }
|
||||
catch (Out_of_ram) { return WATCH_ERR_OUT_OF_RAM; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user