Commit f408dde
scsi: lpfc: Check return status of lpfc_reset_flush_io_context during TGT_RESET
If lpfc_reset_flush_io_context fails to execute, then the wrong return
status code may be passed back to upper layers when issuing a target
reset TMF command. Fix by checking the return status from
lpfc_reset_flush_io_context() first in order to properly return FAILED
or FAST_IO_FAIL.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Message-ID: <20250915180811.137530-7-justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent b5bf6d6 commit f408dde
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5935 | 5935 | | |
5936 | 5936 | | |
5937 | 5937 | | |
5938 | | - | |
| 5938 | + | |
5939 | 5939 | | |
5940 | 5940 | | |
5941 | 5941 | | |
| |||
6109 | 6109 | | |
6110 | 6110 | | |
6111 | 6111 | | |
6112 | | - | |
6113 | | - | |
| 6112 | + | |
| 6113 | + | |
| 6114 | + | |
| 6115 | + | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
| 6119 | + | |
6114 | 6120 | | |
6115 | 6121 | | |
6116 | 6122 | | |
| |||
6202 | 6208 | | |
6203 | 6209 | | |
6204 | 6210 | | |
6205 | | - | |
| 6211 | + | |
6206 | 6212 | | |
6207 | 6213 | | |
6208 | 6214 | | |
| |||
0 commit comments