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:
Andreas Kling 2020-07-04 13:36:55 +02:00
commit 0d577ab781
Notes: sideshowbarker 2024-07-19 05:11:34 +09:00
6 changed files with 47 additions and 3 deletions

View file

@ -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: