block: use cancel_work_sync() instead of kblockd_flush_work()
authorCheng Renquan <crquan@gmail.com>
Wed, 3 Dec 2008 11:41:39 +0000 (12:41 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:44 +0000 (08:28 +0100)
commit64d01dc9e1927e6535627d73f2336c75d1dd3fe2
tree1813333970f6ed1c1959edfc2842b00ed2b3a70e
parent08bafc0341f2f7920e9045bc32c40299cac8c21b
block: use cancel_work_sync() instead of kblockd_flush_work()

After many improvements on kblockd_flush_work, it is now identical to
cancel_work_sync, so a direct call to cancel_work_sync is suggested.

The only difference is that cancel_work_sync is a GPL symbol,
so no non-GPL modules anymore.

Signed-off-by: Cheng Renquan <crquan@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/as-iosched.c
block/blk-core.c
block/cfq-iosched.c
include/linux/blkdev.h