Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Lizhe and committed by
Mike Snitzer
b9d3ac48 47c00dcd

-1
-1
drivers/md/dm-crypt.c
··· 1964 1964 1965 1965 schedule(); 1966 1966 1967 - set_current_state(TASK_RUNNING); 1968 1967 spin_lock_irq(&cc->write_thread_lock); 1969 1968 goto continue_locked; 1970 1969