diff options
author | Li Bin <huawei.libin@huawei.com> | 2020-04-13 19:29:21 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-13 21:58:48 -0400 |
commit | 849f8583e955dbe3a1806e03ecacd5e71cce0a08 (patch) | |
tree | 333199bd63f3611d07c88082321a6d3a96c1a467 /drivers/cdrom | |
parent | 066f79a5fd6d1b9a5cc57b5cd445b3e4bb68a5b2 (diff) | |
download | linux-849f8583e955dbe3a1806e03ecacd5e71cce0a08.tar.bz2 |
scsi: sg: add sg_remove_request in sg_common_write
If the dxfer_len is greater than 256M then the request is invalid and we
need to call sg_remove_request in sg_common_write.
Link: https://lore.kernel.org/r/1586777361-17339-1-git-send-email-huawei.libin@huawei.com
Fixes: f930c7043663 ("scsi: sg: only check for dxfer_len greater than 256M")
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Li Bin <huawei.libin@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions