mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
Fixed incorrect condition in scst_hw_pending_work_fn() noticed by Joe Eykholt <jeykholt@cisco.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1863,7 +1863,7 @@ restart:
|
||||
goto restart;
|
||||
}
|
||||
|
||||
if (list_empty(&sess->sess_cmd_list)) {
|
||||
if (!list_empty(&sess->sess_cmd_list)) {
|
||||
/*
|
||||
* For stuck cmds if there is no activity we might need to have
|
||||
* one more run to release them, so reschedule once again.
|
||||
|
||||
Reference in New Issue
Block a user