diff options
author | peter chang <dpf@google.com> | 2019-11-14 15:39:06 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:14:28 +0200 |
commit | db3ff4f7d7a83dfd63ec4e1c34e387b4e9aa93a6 (patch) | |
tree | 49b4ec9dedd01ade7fe7c6ce15ef2a62498f5594 /fs/cifs/smb2misc.c | |
parent | 19709adfd7cda040781705ca02a6f7b638d2ac14 (diff) | |
download | linux-stable-db3ff4f7d7a83dfd63ec4e1c34e387b4e9aa93a6.tar.gz linux-stable-db3ff4f7d7a83dfd63ec4e1c34e387b4e9aa93a6.tar.bz2 linux-stable-db3ff4f7d7a83dfd63ec4e1c34e387b4e9aa93a6.zip |
scsi: pm80xx: Cleanup command when a reset times out
[ Upstream commit 51c1c5f6ed64c2b65a8cf89dac136273d25ca540 ]
Added the fix so the if driver properly sent the abort it tries to remove
it from the firmware's list of outstanding commands regardless of the abort
status. This means that the task gets freed 'now' rather than possibly
getting freed later when the scsi layer thinks it's leaked but still valid.
Link: https://lore.kernel.org/r/20191114100910.6153-10-deepak.ukey@microchip.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: peter chang <dpf@google.com>
Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/cifs/smb2misc.c')
0 files changed, 0 insertions, 0 deletions