diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-03-25 15:44:17 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-04-08 21:40:29 -0400 |
commit | ca91259b775f6fd98ae5d23bb4eec101d468ba8d (patch) | |
tree | 09d4b66125785182fd42d44132efcf6981d2fa16 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 8db8f6ce556af60ca9a9fd5e826d369ded70fcc7 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions