mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02: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 @@ static int dmcrypt_write(void *data)
|
|||
|
||||
schedule();
|
||||
|
||||
set_current_state(TASK_RUNNING);
|
||||
spin_lock_irq(&cc->write_thread_lock);
|
||||
goto continue_locked;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user