Bart Van Assche ca91259b77 scsi: core: Fix handling of SCMD_FAIL_IF_RECOVERING
There is code in the SCSI core that sets the SCMD_FAIL_IF_RECOVERING
flag but there is no code that clears this flag. Instead of only clearing
SCMD_INITIALIZED in scsi_end_request(), clear all flags. It is never
necessary to preserve any command flags inside scsi_end_request().

Cc: stable@vger.kernel.org
Fixes: 310bcaef6d7e ("scsi: core: Support failing requests while recovering")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240325224417.1477135-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-04-08 21:40:29 -04:00
..
2023-10-13 14:15:54 -04:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2023-05-31 19:59:26 -04:00
2024-03-10 18:15:48 -04:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2024-03-22 13:31:07 -07:00
2024-03-15 17:53:48 -07:00
2024-04-01 21:08:48 -04:00
2024-04-01 21:08:48 -04:00
2022-02-22 21:11:02 -05:00
2024-03-22 13:31:07 -07:00
2024-03-16 16:31:12 -07:00
2024-03-22 13:31:07 -07:00
2024-03-22 13:31:07 -07:00
2022-05-08 14:28:18 -04:00
2024-03-10 18:15:49 -04:00
2023-05-31 11:36:40 -04:00