aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2024-02-03 02:45:21 +0000
committerMartin K. Petersen <[email protected]>2024-02-05 21:15:20 +0000
commit4e6c9011990726f4d175e2cdfebe5b0b8cce4839 (patch)
tree89be6d1c0d942738badc7466921c447086dd37d4 /scripts/generate_rust_target.rs
parentscsi: storvsc: Fix ring buffer size calculation (diff)
downloadkernel-4e6c9011990726f4d175e2cdfebe5b0b8cce4839.tar.gz
kernel-4e6c9011990726f4d175e2cdfebe5b0b8cce4839.zip
scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
Commit 4373534a9850 ("scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler") intended to fix a hard lockup issue triggered by EH. The core idea was to move scsi_host_busy() out of the host lock when processing individual commands for EH. However, a suggested style change inadvertently caused scsi_host_busy() to remain under the host lock. Fix this by calling scsi_host_busy() outside the lock. Fixes: 4373534a9850 ("scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler") Cc: Sathya Prakash Veerichetty <[email protected]> Cc: Bart Van Assche <[email protected]> Cc: Ewan D. Milne <[email protected]> Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions