mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
dm crypt: remove redundant state settings after waking up
The task status has been set to TASK_RUNNING in schedule(). No need to set again here. Signed-off-by: Lizhe <sensor1010@163.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
47c00dcdd5
commit
b9d3ac48a8
@ -1964,7 +1964,6 @@ continue_locked:
|
||||
|
||||
schedule();
|
||||
|
||||
set_current_state(TASK_RUNNING);
|
||||
spin_lock_irq(&cc->write_thread_lock);
|
||||
goto continue_locked;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user