return NULL;
}
- rx = cfs_mem_cache_alloc(kptllnd_data.kptl_rx_cache, CFS_ALLOC_ATOMIC);
+ rx = kmem_cache_alloc(kptllnd_data.kptl_rx_cache, GFP_ATOMIC);
if (rx == NULL) {
CERROR("Failed to allocate rx\n");
return NULL;
kptllnd_peer_decref(peer);
}
- cfs_mem_cache_free(kptllnd_data.kptl_rx_cache, rx);
+ kmem_cache_free(kptllnd_data.kptl_rx_cache, rx);
}
void