aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-04-16 17:48:41 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-19 00:41:03 -0400
commit8e1ceafe50ec4d1bcfae154dd70e7cb6946a6177 (patch)
tree2fe1f5db06d2b1ab9358cf12187844968d96e174 /drivers/scsi
parentscsi: sd_zbc: Avoid that resetting a zone fails sporadically (diff)
downloadlinux-dev-8e1ceafe50ec4d1bcfae154dd70e7cb6946a6177.tar.xz
linux-dev-8e1ceafe50ec4d1bcfae154dd70e7cb6946a6177.zip
scsi: target: fix crash with iscsi target and dvd
When the current page can't be added to bio, one new bio should be created for adding this page again, instead of ignoring this page. This patch fixes kernel crash with iscsi target and dvd, as reported by Wakko. Cc: Wakko Warner <wakko@animx.eu.org> Cc: Bart Van Assche <Bart.VanAssche@wdc.com> Cc: target-devel@vger.kernel.org Cc: linux-scsi@vger.kernel.org Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org> Cc: Christoph Hellwig <hch@lst.de> Fixes: 84c8590646d5b35804 ("target: avoid accessing .bi_vcnt directly") Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions