aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorCheng Renquan <crquan@gmail.com>2008-12-03 06:41:39 -0500
committerJens Axboe <jens.axboe@oracle.com>2008-12-29 02:28:44 -0500
commit64d01dc9e1927e6535627d73f2336c75d1dd3fe2 (patch)
tree1813333970f6ed1c1959edfc2842b00ed2b3a70e /include/linux/blkdev.h
parent08bafc0341f2f7920e9045bc32c40299cac8c21b (diff)
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>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 482e9600f7a2..e9bb73ff1d64 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -978,7 +978,6 @@ static inline void put_dev_sector(Sector p)
978 978
979struct work_struct; 979struct work_struct;
980int kblockd_schedule_work(struct request_queue *q, struct work_struct *work); 980int kblockd_schedule_work(struct request_queue *q, struct work_struct *work);
981void kblockd_flush_work(struct work_struct *work);
982 981
983#define MODULE_ALIAS_BLOCKDEV(major,minor) \ 982#define MODULE_ALIAS_BLOCKDEV(major,minor) \
984 MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor)) 983 MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor))