]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4703bd221d791cd385efae8dd1489deb9e2acf4
treea36f44b9c2741ebf4d4587c0145bc2220ced0878
parent17de8ddfce7a355c5d684eca623efce135cf6d5a
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