diff options
author | Lizhe <[email protected]> | 2024-01-11 21:00:05 -0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2024-02-20 13:37:31 -0500 |
commit | b9d3ac48a855ed295ce660f73d3b6ba6f91fae42 (patch) | |
tree | 2de4b7d1ca210e9e80acf53240c58488fb848399 | |
parent | 47c00dcdd53bb118b03a465c75f70abf09024812 (diff) |
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
-rw-r--r-- | drivers/md/dm-crypt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 59445763e55a..7388f45ada07 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -1964,7 +1964,6 @@ continue_locked: schedule(); - set_current_state(TASK_RUNNING); spin_lock_irq(&cc->write_thread_lock); goto continue_locked; |