]> git.baikalelectronics.ru Git - kernel.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)
commit9bad624914ad40315e83fc365f75743181b29843
tree158e3bcab08c68fc06359e8976df122476626657
parent7316f216e674d1499dd927d9d8a4ff3f3ea73556
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