]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: stop using bio_data() in blk_write_same_mergeable
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:24:41 +0000 (09:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Jun 2017 01:21:48 +0000 (19:21 -0600)
commitefbeccdb59d666b9c77d505af01097cc0a9d102b
tree158e3bcab08c68fc06359e8976df122476626657
parent80ab6af432523b33352771b1eca1cee793cc7c81
block: stop using bio_data() in blk_write_same_mergeable

While the Write Same page currently always is in low-level it is just
as easy and safer to just compare the page and offset directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h