mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Typo fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -452,7 +452,7 @@ static struct scst_vdisk_thr *vdisk_init_thr_data(
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
|
||||
res = kmem_cache_alloc(vdisk_thr_cachep, GFP_KERNEL);
|
||||
if (res != NULL)
|
||||
memset(thr, 0, sizeof(*thr));
|
||||
memset(res, 0, sizeof(*res));
|
||||
#else
|
||||
res = kmem_cache_zalloc(vdisk_thr_cachep, GFP_KERNEL);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user