mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-29 03:05:46 +00:00
scst_cmd_aborted() is a bad and ambiguous name. Rename it to scst_cmd_aborted_on_xmit() and create a new version, which truly reflects its semantic.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -3214,7 +3214,7 @@ static int srpt_xmit_response(struct scst_cmd *scmnd)
|
||||
}
|
||||
spin_unlock(&ioctx->spinlock);
|
||||
|
||||
if (unlikely(scst_cmd_aborted(scmnd))) {
|
||||
if (unlikely(scst_cmd_aborted_on_xmit(scmnd))) {
|
||||
srpt_adjust_req_lim(ch, 0, 1);
|
||||
srpt_abort_cmd(ioctx, SCST_CONTEXT_SAME);
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user