Skip to content
Commit f635237a authored by Cai Huoqing's avatar Cai Huoqing Committed by Mike Snitzer
Browse files

dm writecache: Make use of the helper macro kthread_run()



Replace kthread_create/wake_up_process() with kthread_run()
to simplify the code.

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent a5217c11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment