Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e3fabdfd authored by Bart Van Assche's avatar Bart Van Assche Committed by Mike Snitzer
Browse files

dm: use signal_pending_state() in dm_wait_for_completion()



Use signal_pending_state() instead of open-coding it.  This patch does
not change any functionality but makes it possible to pass TASK_KILLABLE
as the second argument of dm_wait_for_completion().  See also commit
16882c1e ("sched: fix TASK_WAKEKILL vs SIGKILL race").

Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com&gt;.>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent b48633f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment