diff options
author | Roland Dreier <roland@purestorage.com> | 2015-05-30 08:12:10 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 05:01:04 +0200 |
commit | b2feda4feb1b0ea74c0916b4a35b038bbfef9c82 (patch) | |
tree | f2fab5419c4543973d9dad998a587768d29913b7 /Documentation | |
parent | target: Use a PASSTHROUGH flag instead of transport_types (diff) | |
download | linux-b2feda4feb1b0ea74c0916b4a35b038bbfef9c82.tar.xz linux-b2feda4feb1b0ea74c0916b4a35b038bbfef9c82.zip |
iser-target: Fix error path in isert_create_pi_ctx()
We don't assign pi_ctx to desc->pi_ctx until we're certain to succeed
in the function. That means the cleanup path should use the local
pi_ctx variable, not desc->pi_ctx.
This was detected by Coverity (CID 1260062).
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions