scsi: cxgb4i: add wait_for_completion()
In case of ->set_param() and ->bind_conn() cxgb4i driver does not wait for cmd completion, this can create race conditions, to avoid this add wait_for_completion(). Signed-off-by:Varun Prakash <varun@chelsio.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 4 additions, 5 deletionsdrivers/scsi/cxgbi/cxgb3i/cxgb3i.c
- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 20 additions, 8 deletionsdrivers/scsi/cxgbi/cxgb4i/cxgb4i.c
- drivers/scsi/cxgbi/libcxgbi.c 4 additions, 3 deletionsdrivers/scsi/cxgbi/libcxgbi.c
- drivers/scsi/cxgbi/libcxgbi.h 3 additions, 2 deletionsdrivers/scsi/cxgbi/libcxgbi.h
Loading
Please register or sign in to comment