summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorBart Van Assche2016-09-01 00:16:22 +0200
committerMike Snitzer2016-09-14 19:56:38 +0200
commite3fabdfdf70e2b340cff968fd1d13e4c624de926 (patch)
tree60cdbd9f7f563238dd31a541a6d96e009e2e8468 /mm/migrate.c
parentdm: rename task state function arguments (diff)
downloadkernel-qcow2-linux-e3fabdfdf70e2b340cff968fd1d13e4c624de926.tar.gz
kernel-qcow2-linux-e3fabdfdf70e2b340cff968fd1d13e4c624de926.tar.xz
kernel-qcow2-linux-e3fabdfdf70e2b340cff968fd1d13e4c624de926.zip
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 16882c1e962b ("sched: fix TASK_WAKEKILL vs SIGKILL race"). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions