diff options
| -rw-r--r-- | drivers/target/target_core_transport.c | 24 | ||||
| -rw-r--r-- | include/target/target_core_base.h | 2 |
2 files changed, 9 insertions, 17 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index ebd54fc1f13af..cb48dbc2c9ba6 100644 --- a/drivers/target/tar @@ -2658,6 +2658,7 @@ static void target_wait_free_cmd(struct se_cmd *cmd, bool *aborted, bool *tas) diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 906c1fc485e42..ca59e065c1fd0 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -475,7 +475,7 @@ struct se_cmd { struct se_session *se_sess; struct se_tmr_req *se_tmr_req; struct list_head se_cmd_list; - struct completion cmd_wait_comp; + struct completion *compl; const struct target_core_fabric_ops *se_tfo; sense_reason_t (*execute_cmd)(struct se_cmd *); sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); |
