commit | b2feda4feb1b0ea74c0916b4a35b038bbfef9c82 | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Fri May 29 23:12:10 2015 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat May 30 20:01:04 2015 -0700 |
tree | f2fab5419c4543973d9dad998a587768d29913b7 | |
parent | a3541703ebbf99d499656b15987175f6579b42ac [diff] |
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>