Commit b9d3ac48 authored by Lizhe's avatar Lizhe Committed by Mike Snitzer

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: default avatarLizhe <sensor1010@163.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 47c00dcd
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment