hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/net/ceph/crush/crush.c
....@@ -2,7 +2,6 @@
22 #ifdef __KERNEL__
33 # include <linux/slab.h>
44 # include <linux/crush/crush.h>
5
-void clear_choose_args(struct crush_map *c);
65 #else
76 # include "crush_compat.h"
87 # include "crush.h"
....@@ -130,6 +129,8 @@
130129 #ifndef __KERNEL__
131130 kfree(map->choose_tries);
132131 #else
132
+ clear_crush_names(&map->type_names);
133
+ clear_crush_names(&map->names);
133134 clear_choose_args(map);
134135 #endif
135136 kfree(map);