dm: dont use flush_scheduled_work
authorTejun Heo <tj@kernel.org>
Thu, 13 Jan 2011 19:59:56 +0000 (19:59 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Jan 2011 19:59:56 +0000 (19:59 +0000)
commitd5ffa387e24646cb1cb55d80fd0f182a00e0edb7
tree87f253780f49fc1e438a89fa45ae7313ace6cb3f
parentfecec20e55ec117a09857ac1a455e2e6e2f17df4
dm: dont use flush_scheduled_work

flush_scheduled_work() is being deprecated.  Flush the used work
directly instead.  In all dm targets, the only work which uses
system_wq is ->trigger_event.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath.c
drivers/md/dm-raid1.c