diff options
author | Ming Lin <ming.l@ssi.samsung.com> | 2016-03-22 00:24:44 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-04-12 13:13:23 -0600 |
commit | 37e58237a16b94fcd2c2d1b7e9c6e1ca661c231b (patch) | |
tree | 0225607142a78e0f110831626c033386e3c1694c /include/linux/blkdev.h | |
parent | 81b76485afb54e3efeb1de5edbef761f4ad2830e (diff) |
block: add offset in blk_add_request_payload()
We could kmalloc() the payload, so need the offset in page.
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blkdev.h')
-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 669e419d6234..bbaa76757018 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -779,7 +779,7 @@ extern struct request *blk_make_request(struct request_queue *, struct bio *, extern void blk_rq_set_block_pc(struct request *); extern void blk_requeue_request(struct request_queue *, struct request *); extern void blk_add_request_payload(struct request *rq, struct page *page, - unsigned int len); + int offset, unsigned int len); extern int blk_lld_busy(struct request_queue *q); extern int blk_rq_prep_clone(struct request *rq, struct request *rq_src, struct bio_set *bs, gfp_t gfp_mask, |