(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

ata: libata: Fix scsi_done() documentation

In 2008 the SCSI core was converted to use the block layer timeout infrastructure instead of its own infrastructure (see also patch "block: unify request timeout handling"). Since then, calling scsi_done() while SCSI host recovery is in progress has no effect. Originally the REQ_ATOM_COMPLETE flag was used to prevent double completions. Today the SCMD_STATE_COMPLETE flag is used to prevent double completions. Instead of mentioning that calling scsi_done() is not allowed while host recovery is in progress, mention that it has no effect. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/291519238580d795929d44437f3c863403d14e1f.1790359497.git.bvanassche@acm.org Signed-off-by: Niklas Cassel <cassel@kernel.org>


Author Bart Van Assche Committer Niklas Cassel Date Commit Parent 6b28e0e7
+2 -2
1 changed file
+2 -2
1 changed file