]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: don't use flush_scheduled_work()
authorTejun Heo <tj@kernel.org>
Thu, 28 Oct 2010 12:15:26 +0000 (06:15 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 28 Oct 2010 12:15:26 +0000 (06:15 -0600)
commit63169666afaeecfebfe667dbca3d7a0fd8656f5a
tree64fea23f93077564abc0678262721b9d27b3d8d8
parentf756c3b30070b748447f79765767fce120909222
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