iscsi-scst: fix false positive BUG_ON()

It's false positive, because responses live in the parent request's list
until last put for the parent.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2016-10-14 01:30:17 +00:00
parent 1d98ab7e7a
commit 1f72d604cc

View File

@@ -579,7 +579,6 @@ void req_cmnd_release_force(struct iscsi_cmnd *req)
sBUG_ON(req->cmd_req);
sBUG_ON(req->main_rsp != NULL);
sBUG_ON(!list_empty(&req->rx_ddigest_cmd_list));
sBUG_ON(!list_empty(&req->rsp_cmd_list));
sBUG_ON(req->pending);
cmnd_put(req);