Bart Van Assche
37e14dbe8c
scsi: core: Fix handling of SCMD_FAIL_IF_RECOVERING
...
commit ca91259b775f6fd98ae5d23bb4eec101d468ba8d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-27 17:11:30 +02:00
..
2024-01-01 12:42:45 +00:00
2023-07-31 11:28:55 -04:00
2023-08-21 17:50:59 -04:00
2024-02-05 20:14:19 +00:00
2023-03-24 19:19:21 -04:00
2023-12-13 18:45:17 +01:00
2024-03-26 18:20:01 -04:00
2024-01-01 12:42:36 +00:00
2023-05-26 13:52:19 -07:00
2024-03-26 18:20:01 -04:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-03-16 23:02:23 -04:00
2023-08-21 17:13:56 -04:00
2023-04-27 16:36:55 -07:00
2024-02-23 09:25:01 +01:00
2024-01-25 15:35:22 -08:00
2024-04-17 11:19:27 +02:00
2023-11-28 17:19:42 +00:00
2023-03-16 23:36:36 -04:00
2024-02-05 20:14:34 +00:00
2024-02-05 20:14:20 +00:00
2024-04-03 15:29:03 +02:00
2024-04-13 13:07:34 +02:00
2023-11-28 17:19:55 +00:00
2024-02-05 20:14:19 +00:00
2024-03-26 18:19:14 -04:00
2023-08-21 17:50:58 -04:00
2023-05-31 19:59:26 -04:00
2023-09-13 20:08:40 -04:00
2023-09-05 05:57:49 -04:00
2023-08-30 20:56:24 -04:00
2024-04-17 11:19:28 +02:00
2023-07-25 21:51:04 -04:00
2024-03-01 13:35:06 +01:00
2023-08-24 22:30:32 -04:00
2023-05-31 18:04:30 -04:00
2023-05-26 13:52:19 -07:00
2023-03-24 19:19:20 -04:00
2023-01-12 00:09:52 -05:00
2023-05-22 17:31:56 -04:00
2022-09-25 13:06:00 -04:00
2023-07-31 14:38:17 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:20 -04:00
2023-06-12 08:04:04 -06:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2022-08-01 19:52:03 -04:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:37:11 -04:00
2024-04-03 15:28:59 +02:00
2023-03-24 20:13:03 -04:00
2023-05-26 13:52:19 -07:00
2022-09-25 13:04:17 -04:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:04 -05:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:05 -05:00
2023-04-24 23:11:47 -04:00
2023-04-18 23:01:23 -04:00
2023-01-18 18:41:12 -05:00
2023-09-17 17:46:13 +01:00
2023-06-24 15:50:13 -07:00
2023-03-24 19:19:22 -04:00
2024-03-01 13:35:06 +01:00
2022-06-21 21:19:23 -04:00
2023-03-24 19:19:57 -04:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:35:30 -05:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2022-06-27 22:56:21 -04:00
2023-03-24 20:27:17 -04:00
2022-02-22 21:11:05 -05:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:34:02 -05:00
2023-03-24 19:19:57 -04:00
2023-08-24 22:11:29 -04:00
2023-01-12 00:11:11 -05:00
2024-04-10 16:36:00 +02:00
2024-04-10 16:36:00 +02:00
2023-06-21 21:13:00 -04:00
2022-02-22 21:11:07 -05:00
2023-05-22 15:13:03 -10:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:58 -04:00
2022-02-22 21:11:06 -05:00
2023-08-21 17:13:56 -04:00
2022-03-29 23:32:26 -04:00
2023-09-05 05:26:49 -04:00
2023-08-21 16:32:40 -04:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:06 -05:00
2022-02-22 21:11:02 -05:00
2022-02-22 21:11:02 -05:00
2023-08-21 16:37:11 -04:00
2023-08-24 21:34:28 -04:00
2023-06-12 08:04:04 -06:00
2023-05-31 11:05:34 -04:00
2023-07-05 21:37:43 -04:00
2023-08-24 22:13:03 -04:00
2023-03-16 22:54:43 -04:00
2024-02-16 19:10:53 +01:00
2023-06-12 08:04:04 -06:00
2024-04-27 17:11:30 +02:00
2022-03-29 23:29:19 -04:00
2021-12-22 23:38:29 -05:00
2024-02-05 20:14:34 +00:00
2023-07-31 15:39:39 -04:00
2024-04-03 15:28:59 +02:00
2023-04-13 11:49:20 -07:00
2023-08-24 22:11:29 -04:00
2023-06-16 12:19:59 -04:00
2023-07-25 21:48:13 -04:00
2023-05-22 17:05:19 -04:00
2023-01-13 21:34:09 -05:00
2023-06-16 12:19:59 -04:00
2024-03-01 13:35:00 +01:00
2022-05-08 14:28:18 -04:00
2023-02-21 22:00:32 -05:00
2022-12-01 03:13:55 +00:00
2023-07-05 21:58:10 -04:00
2024-04-10 16:36:00 +02:00
2023-09-28 21:23:18 +09:00
2023-04-27 11:53:57 -07:00
2024-04-17 11:19:34 +02:00
2023-03-24 19:19:59 -04:00
2023-01-13 21:34:09 -05:00
2021-12-22 23:41:13 -05:00
2023-06-30 11:57:07 -07:00
2022-03-08 19:40:01 -07:00
2023-08-24 22:16:28 -04:00
2022-03-08 19:40:00 -07:00
2023-05-31 11:36:40 -04:00
2024-02-23 09:24:54 +01:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:22 -04:00
2023-07-23 15:49:41 -04:00
2023-08-24 22:11:29 -04:00
2022-04-06 23:01:54 -04:00
2022-06-07 21:30:56 -04:00
2022-09-25 13:29:53 -04:00
2022-09-25 13:29:53 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:07 -05:00
2023-08-24 22:06:44 -04:00
2022-02-22 21:11:07 -05:00
2022-03-30 00:05:42 -04:00
2023-03-24 19:19:22 -04:00