summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/srpt
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-11-28 04:07:52 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2012-11-28 07:49:25 +0100
commitffe0067544f93c0e71c793d7f17240486d091a3c (patch)
treed5008fdf846ed6f6575e65abe4c7bf7a267da2f1 /drivers/infiniband/ulp/srpt
parenttarget/configfs: use kmalloc() instead of kzalloc() for default groups (diff)
downloadlinux-ffe0067544f93c0e71c793d7f17240486d091a3c.tar.xz
linux-ffe0067544f93c0e71c793d7f17240486d091a3c.zip
target: Make spc_get_write_same_sectors return sector_t
We already expect TFO->get_blocks() to return sector_t for zero value case when doing WRITE_SAME to the end of the backend device, so go ahead and return sector_t from spc_get_write_same_sectors() to handle this case properly. Also, update the single iblock_execute_write_same() caller of this code. Cc: Christoph Hellwig <hch@lst.de> Cc: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/infiniband/ulp/srpt')
0 files changed, 0 insertions, 0 deletions