Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63e4563b authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] libsas: correctly flush the LU queue on error recovery



The current sas_scsi_clear_queue_lu() is wrongly checking for commands
which match the pointer to the one passed in.  It should be checking for
commands which are on the same logical unit as the one passed in.  Fix
this by checking target pointer and LUN for equality.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 91b55060
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment