• Mike Anderson's avatar
    [PATCH] Call release on scsi legacy LLDD · 1e8ac078
    Mike Anderson authored
    In the sysfs scsi host reference counting merge the call to a legacy hosts
    release function was removed.
    
    This patch adds the call back in.
    
    This patch was tested with insmod / rmmod on LLDDs using the legacy interface
    and LLDDs using the new interface:
    
    Legacy Interface:
    qla2xxx-v8.00.00b1
    qlogicisp
    aic7xxx_old (Does not call scsi_unregister in release, but unloaded)
    
    New Interface:
    scsi_debug
    aic7xxx (Many illegal context warnings caused by mid vs LLDD primitive
             mixing, but appears to unload clean).
    
     drivers/scsi/hosts.c |    4 ++++
     1 files changed, 4 insertions(+)
    1e8ac078
hosts.c 14.5 KB