summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2020-04-13 14:29:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-23 11:30:12 +0300
commit45533ebd5e5ceb5b0cbb865c3e67adaff65356b1 (patch)
treef803c9cc878781638ded0942667b5b63c695d6a8 /fs/ext4/super.c
parent2b91a2361d7709ba6c1958ba0b0207f2a3e7cfdc (diff)
downloadlinux-45533ebd5e5ceb5b0cbb865c3e67adaff65356b1.tar.xz
scsi: sg: add sg_remove_request in sg_common_write
commit 849f8583e955dbe3a1806e03ecacd5e71cce0a08 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions