diff options
author | 2016-11-04 09:34:34 -0600 | |
---|---|---|
committer | 2016-11-11 13:40:25 -0700 | |
commit | bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab (patch) | |
tree | 5a025d557bb82df1b27a209e924b0941f2c42aaa /include/linux/blkdev.h | |
parent | Block: mtip32xx: Improvement in code readability when memdup_user() fails. (diff) | |
download | linux-dev-bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab.tar.xz linux-dev-bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab.zip |
block: move poll code to blk-mq
The poll code is blk-mq specific, let's move it to blk-mq.c. This
is a prep patch for improving the polling code.
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 15da9e430f90..bab18ee5810d 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -952,7 +952,7 @@ extern int blk_execute_rq(struct request_queue *, struct gendisk *, extern void blk_execute_rq_nowait(struct request_queue *, struct gendisk *, struct request *, int, rq_end_io_fn *); -bool blk_poll(struct request_queue *q, blk_qc_t cookie); +bool blk_mq_poll(struct request_queue *q, blk_qc_t cookie); static inline struct request_queue *bdev_get_queue(struct block_device *bdev) { |