mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-23 04:25:21 +00:00
vfs: 'Rtc_file_system::close' for watch handle
The default implementation of this method throws an exception.
This commit is contained in:
parent
7549189f88
commit
e9762ee25f
@ -157,6 +157,12 @@ class Vfs::Rtc_file_system : public Single_file_system
|
||||
catch (Genode::Out_of_ram) { return WATCH_ERR_OUT_OF_RAM; }
|
||||
catch (Genode::Out_of_caps) { return WATCH_ERR_OUT_OF_CAPS; }
|
||||
}
|
||||
|
||||
void close(Vfs_watch_handle *handle) override
|
||||
{
|
||||
Genode::destroy(handle->alloc(),
|
||||
static_cast<Registered_watch_handle *>(handle));
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* _INCLUDE__VFS__RTC_FILE_SYSTEM_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user