fnic does not use host_lock. fnic uses fnic_lock.Please merge this patch with the previous one which removes the use of 'host_lock', seeing that you need a lock after all.
Use fnic lock to protect fnic members in fnic_queuecommand.
Add log messages in error cases.
Reviewed-by: Sesidhar Baddela <sebaddel@xxxxxxxxx>
Reviewed-by: Arulprabhu Ponnusamy <arulponn@xxxxxxxxx>
Signed-off-by: Karan Tilak Kumar <kartilak@xxxxxxxxx>
---
drivers/scsi/fnic/fnic_scsi.c | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)