Fix not removing resource from procgroup->resource_tree during pg cleanup
This commit is contained in:
@@ -103,6 +103,7 @@ void proc_delete_resource (struct procgroup* procgroup, struct proc_resource* re
|
||||
spin_lock (&resource->lock);
|
||||
|
||||
id_free (&procgroup->rid_alloc, resource->rid);
|
||||
rbtree_delete (&procgroup->resource_tree, &resource->resource_tree_link);
|
||||
|
||||
spin_unlock (&resource->lock);
|
||||
spin_unlock (&procgroup->lock);
|
||||
|
||||
Reference in New Issue
Block a user