workqueue: use kmem_cache_free() instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 9 Apr 2013 06:29:11 +0000 (14:29 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 9 Apr 2013 18:33:40 +0000 (11:33 -0700)
commitcece95dfe5aa56ba99e51b4746230ff0b8542abd
tree32ceba3269028558bf3d66592f3054746459a0c2
parent5c529597e922c26910fe49b8d5f93aeaca9a2415
workqueue: use kmem_cache_free() instead of kfree()

memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c