mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
scsi: mpi3mr: Fix printing of pending I/O count
Print proper pending I/O count after issuing target reset TM operation. Link: https://lore.kernel.org/r/20220210095817.22828-3-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
580e674220
commit
6d211f1d26
@ -3452,7 +3452,7 @@ static int mpi3mr_eh_target_reset(struct scsi_cmnd *scmd)
|
||||
if (stgt_priv_data->pend_count) {
|
||||
sdev_printk(KERN_INFO, scmd->device,
|
||||
"%s: target has %d pending commands, target reset is failed\n",
|
||||
mrioc->name, sdev_priv_data->pend_count);
|
||||
mrioc->name, stgt_priv_data->pend_count);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user