Merge r7449 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 04:30:44 +00:00
parent 08d4581a7f
commit 0ec38141b8
3 changed files with 12 additions and 23 deletions
+2 -4
View File
@@ -144,10 +144,8 @@ int isert_global_init(void)
return -ENOMEM;
}
isert_cmnd_cache = kmem_cache_create_usercopy("isert_cmnd",
sizeof(struct isert_cmnd), __alignof__(struct isert_cmnd),
SCST_SLAB_FLAGS | SLAB_HWCACHE_ALIGN,
0, sizeof(struct isert_cmnd), NULL);
isert_cmnd_cache = KMEM_CACHE(isert_cmnd,
SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN);
if (!isert_cmnd_cache) {
destroy_workqueue(isert_glob.conn_wq);
PRINT_ERROR("Failed to alloc iser command cache");