Implement VFS syscalls
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m29s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m29s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <fs/vfs.h>
|
||||
#include <libk/rbtree.h>
|
||||
#include <libk/std.h>
|
||||
#include <libk/string.h>
|
||||
@@ -195,6 +196,10 @@ void procgroup_detach (struct procgroup* procgroup, struct proc* proc) {
|
||||
proc_delete_resource (resource, &reschedule_cpu);
|
||||
}
|
||||
|
||||
/* unlock VFS owned mountpoints */
|
||||
vfs_procgroup_cleanup (procgroup);
|
||||
|
||||
/* delete mappings */
|
||||
struct list_node_link *mapping_link, *mapping_link_tmp;
|
||||
list_foreach (procgroup->mappings, mapping_link, mapping_link_tmp) {
|
||||
struct proc_mapping* mapping =
|
||||
|
||||
Reference in New Issue
Block a user