• Christoph Hellwig's avatar
    [PATCH] rationalize allocation and freeing of struct scsi_device · a17430ad
    Christoph Hellwig authored
    Currently allocation and freeing of struct scsi_device is a mess.
    We have two nice functions in scsi_scan.c (scsi_allocate_sdev/
    scsi_free_sdev) that are the right interfaces to deal with it, so I moved
    them to scsi and made them non-static.  I've changed all functions
    allocation freeing them to use it.
    a17430ad
scsi_proc.c 16.5 KB