]> Git Repo - linux.git/commit
sd: remove __data_len hack for WRITE SAME
authorChristoph Hellwig <[email protected]>
Fri, 13 Jan 2017 11:29:13 +0000 (12:29 +0100)
committerJens Axboe <[email protected]>
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/scsi/sd.c
This page took 0.054214 seconds and 4 git commands to generate.