block/swim3: use set_current_state macro
authorXu Wang <vulab@iscas.ac.cn>
Thu, 7 May 2020 07:12:11 +0000 (15:12 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 May 2020 20:28:37 +0000 (14:28 -0600)
commitc65165651d595fd77c38a9a25c14ade14444bc13
treea36f44b9c2741ebf4d4587c0145bc2220ced0878
parent8fd2b980a298bc083e6067aefeb083f96c236a22
block/swim3: use set_current_state macro

Use set_current_state macro instead of current->state = TASK_RUNNING.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim.c