• Mike Anderson's avatar
    [PATCH] scsi_set_device_offline lock fix · c879f2b7
    Mike Anderson authored
    Patrick pointed out that I could get into a ABBA issue with holding
    list_lock while calling scsi_eh_scmd_add which takes host_lock.
    A call to scsi_prep_fn already holds the queue_lock and then makes a
    call to scsi_get_command which takes list_lock.
    
    -andmike
    --
    Michael Anderson
    andmike@us.ibm.com
    
    =====
    name:		00_scsi_set_device_offline.diff
    version:	2003-02-26.15:18:19-0800
    against:	scsi-misc-2.5
    
     scsi.c |   15 +++++++++------
     1 files changed, 9 insertions(+), 6 deletions(-)
    
    =====
    c879f2b7
scsi.c 40.3 KB