• Christoph Hellwig's avatar
    [PATCH] cleanup device_busy/host_busy handling · 92905e51
    Christoph Hellwig authored
    - scsi_host_busy_inc isn't used anymore (and uses broken locking rules),
      kill it.
    - scsi_host_busy_dec_and_test gets replace by scsi_device_unbusy that
      also cares for sdev->device_busty.
    - there's a new helper, scsi_eh_wakeup, shared by scsi_device_unbusy
      and some EH code.
    92905e51
scsi_error.c 47.1 KB