HFI1: use kmalloc_cache_free() in clear_tid_node() for TID nodes

This commit is contained in:
Balazs Gerofi
2018-03-27 23:11:31 +09:00
parent 3043591e9a
commit 22992780cf

View File

@@ -575,7 +575,7 @@ static void clear_tid_node(struct hfi1_filedata *fd, struct tid_rb_node *node)
tid_group_move(node->grp, &uctxt->tid_used_list,
&uctxt->tid_group_list);
spin_unlock(&fd->tid_lock);
kfree(node);
kmalloc_cache_free(node);
}