diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-23 13:52:44 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-24 01:19:23 +0100 |
commit | 10762e80489e73e2d52bf78e0869f253f42821bd (patch) | |
tree | 93a5e8ef29aa4bcffca00e8839ca87a103441075 /fs/autofs4 | |
parent | tcm_qla2xxx: Fix NAA formatted name for NPIV WWPNs (diff) | |
download | linux-10762e80489e73e2d52bf78e0869f253f42821bd.tar.xz linux-10762e80489e73e2d52bf78e0869f253f42821bd.zip |
target/sbc: Fix sbc_dif_copy_prot addr offset bug
This patch fixes a bug in sbc_dif_copy_prot() where the updated addr
offset did not take into account the case where the associated
scatterlist had not been incremented.
This addresses the case where incoming protection scatterlists may
contain a length smaller than PAGE_SIZE across multiple entires,
when the target protection scatterlists are always being explicitly
filled up to PAGE_SIZE before adding another entry.
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions