]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf80de881d8df967488b7343381619efa15019493
tree8875fcc54699771134103e45edcefc7e1d435d5b
parentb131c61d62266eb21b0f125f63f3d07e5670d726
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