aoe: don't use flush_scheduled_work()
commit5ad21a337420e82bffb7836ab34027dd7ad624b8
authorTejun Heo <tj@kernel.org>
Thu, 28 Oct 2010 12:15:26 +0000 (28 06:15 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 28 Oct 2010 12:15:26 +0000 (28 06:15 -0600)
tree64fea23f93077564abc0678262721b9d27b3d8d8
parent2027ae1fa914640c287171035cb607a03ad36e95
aoe: don't use flush_scheduled_work()

flush_scheduled_work() is deprecated and scheduled to be removed.
Directly cancel aoedev->work on free instead of depending on
flush_scheduled_works().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/aoe/aoedev.c