mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
Kernel: Add "child added" and "child removed" InodeWatcher events
The child name is not yet accessible to userspace, but will be in a future patch.
This commit is contained in:
parent
ea17d2d3da
commit
0d577ab781
6 changed files with 47 additions and 3 deletions
|
@ -122,6 +122,9 @@ protected:
|
|||
void inode_size_changed(size_t old_size, size_t new_size);
|
||||
KResult prepare_to_write_data();
|
||||
|
||||
void did_add_child(const String& name);
|
||||
void did_remove_child(const String& name);
|
||||
|
||||
mutable Lock m_lock { "Inode" };
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue