The request may be in the "aborted" or the "completed" state when
performing a task management operation on it.
Signed-off-by: Jeff Skirvin <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
* request state was already set to "aborted" by the abort
* task function.
*/
- BUG_ON(old_request->status != aborted);
+ BUG_ON((old_request->status != aborted)
+ && (old_request->status != completed));
break;
case isci_tmf_timed_out: