]> git.baikalelectronics.ru Git - kernel.git/commit
sd: remove __data_len hack for WRITE SAME
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Jan 2017 11:29:13 +0000 (12:29 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 13 Jan 2017 22:17:04 +0000 (15:17 -0700)
commit76aae32e9e34aa993c8cae094698eb87b757f8a1
tree8875fcc54699771134103e45edcefc7e1d435d5b
parent7a9ed0faa5fb6c7153826da639283d7a5021fbaf
sd: remove __data_len hack for WRITE SAME

Now that we have the blk_rq_payload_bytes helper available to determine
the actual I/O size we don't need to mess around with __data_len for
WRITE SAME.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/sd.c