kernel/net/ceph/crush/crush.c
.. .. @@ -2,7 +2,6 @@ 2 2 #ifdef __KERNEL__ 3 3 # include <linux/slab.h> 4 4 # include <linux/crush/crush.h> 5 -void clear_choose_args(struct crush_map *c);6 5 #else 7 6 # include "crush_compat.h" 8 7 # include "crush.h" .. .. @@ -130,6 +129,8 @@ 130 129 #ifndef __KERNEL__ 131 130 kfree(map->choose_tries); 132 131 #else 132 + clear_crush_names(&map->type_names);133 + clear_crush_names(&map->names);133 134 clear_choose_args(map); 134 135 #endif 135 136 kfree(map);