Kernel: Implement DevFileSystem::remove_device
This function cleanly removes the devices from the whole filesystem. USB devices are now removed from the filesystem as soon as they are destroyed.
This commit is contained in:
@@ -18,6 +18,8 @@ namespace Kernel
|
||||
void initialize_device_updater();
|
||||
|
||||
void add_device(BAN::RefPtr<Device>);
|
||||
void remove_device(BAN::RefPtr<Device>);
|
||||
|
||||
void add_inode(BAN::StringView path, BAN::RefPtr<TmpInode>);
|
||||
|
||||
void initiate_sync(bool should_block);
|
||||
|
||||
Reference in New Issue
Block a user