diff options
author | Alexei Potashnik <alexei@purestorage.com> | 2015-07-20 17:12:12 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-07-30 23:32:57 -0700 |
commit | aa75679c797c0250a853e600e45368f1f9545c27 (patch) | |
tree | 539af1509f3220e8f19d9aa0f47080296d8e4457 /fs/ecryptfs/file.c | |
parent | b6a54b8d895648d915c7e8308f3d3e6bf2505d69 (diff) |
target/iscsi: Use proper SGL accessors for digest computation
Current implementation assumes that all the buffers of an IO are linked
with a single SG list, which is OK because target-core is only allocating
a contigious scatterlist region. However, this assumption is wrong for
se_cmd descriptors that want to use chaining across multiple SGL regions.
Fix this up by using proper SGL accessors for digest payload computation.
Signed-off-by: Alexei Potashnik <alexei@purestorage.com>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/ecryptfs/file.c')
0 files changed, 0 insertions, 0 deletions