]> git.baikalelectronics.ru Git - kernel.git/commit
block: add blk_rq_payload_bytes
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Jan 2017 11:29:10 +0000 (12:29 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 13 Jan 2017 22:17:04 +0000 (15:17 -0700)
commite267c485630eb13700d5b5689b2f7ce9d3c0ae2c
treefd42995d3a8f5f5cf9106629e85d4144d9379a74
parent45d88f44f499b3de516513a13fe7522483d88608
block: add blk_rq_payload_bytes

Add a helper to calculate the actual data transfer size for special
payload requests.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blkdev.h