mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Minor fixes for the previous commit
This commit is contained in:
committed by
Gleb Chesnokov
parent
1efde3fe98
commit
475970f66a
+1
-6
@@ -1379,12 +1379,7 @@ static void sgv_pool_init_cache(struct sgv_pool *pool, int cache_num,
|
||||
pool->caches[cache_num] = kmem_cache_create(
|
||||
pool->cache_names[cache_num], size,
|
||||
0, per_cpu ? SCST_SLAB_FLAGS :
|
||||
(SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN), NULL
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23))
|
||||
, NULL);
|
||||
#else
|
||||
);
|
||||
#endif
|
||||
(SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN), NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user