diff --git a/iscsi-scst/kernel/isert-scst/iser_global.c b/iscsi-scst/kernel/isert-scst/iser_global.c index 96783c913..f7f7f5400 100644 --- a/iscsi-scst/kernel/isert-scst/iser_global.c +++ b/iscsi-scst/kernel/isert-scst/iser_global.c @@ -144,8 +144,9 @@ int isert_global_init(void) return -ENOMEM; } - isert_cmnd_cache = KMEM_CACHE(isert_cmnd, - SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN); + isert_cmnd_cache = KMEM_CACHE_USERCOPY(isert_cmnd, + SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN, + iscsi); if (!isert_cmnd_cache) { destroy_workqueue(isert_glob.conn_wq); PRINT_ERROR("Failed to alloc iser command cache");