dm: convert wait loops to use autoremove_wake_function()
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 31 Aug 2016 22:16:43 +0000 (15:16 -0700)
committerMike Snitzer <snitzer@redhat.com>
Wed, 14 Sep 2016 17:56:38 +0000 (13:56 -0400)
commit9f4c3f874a3ab8fb845dd2f04f4396ebc5c1f225
tree99da4367ea3d4d4fcacb2a64c8e8256af898d251
parente3fabdfdf70e2b340cff968fd1d13e4c624de926
dm: convert wait loops to use autoremove_wake_function()

Use autoremove_wake_function() instead of default_wake_function()
to make the dm wait loops more similar to other wait loops in the
kernel.  This patch does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
drivers/md/dm.c