• Christoph Hellwig's avatar
    [PATCH] first batch of shost sysfs fixes · fecb256b
    Christoph Hellwig authored
    (a) scsi_check_device_busy() is unused now, kill it.  Btw, although I
        love to see this this really means we need to imply a
        scsi_set_device_offline (or even better scsi_set_host_offline)
        in scsi_remove_host now..
    (b) make shost_class static to scsi_sysfs.c, with the new device model
        changes no LLDD needs this anymore
    (c) move private prototypes where they belong.
    
    BTW, Mike, did I miss something or will your changes make every driver
    converted to scsi_add_host & co OOPS on removal now?
    fecb256b
scsi_priv.h 4.83 KB