• Patrick Mansfield's avatar
    [PATCH] Re: 2.5.48 /proc/scsi directory missing · a1a477f9
    Patrick Mansfield authored
    On Tue, Nov 19, 2002 at 10:45:25AM +1100, Douglas Gilbert wrote:
    > That directory (and all who sail in her, e.g. /proc/scsi/scsi)
    > seems to have disappeared. When the scsi_debug module is
    > loaded a /proc/scsi_debug/0 entry appears (that used to be
    > /proc/scsi/scsi_debug/0).
    >
    > Doug Gilbert
    
    It looks like the merge of Doug and Christoph's code dropped two calls
    (unless the exit devfs_unregister was supposed to be removed).
    
    Here's a patch for the addition of scsi_init_procfs, devfs_mk_dir and
    bus_unregister calls, and a small reordering so calls in exit_scsi
    match the reverse of those in init_scsi.
    a1a477f9
scsi.c 65.6 KB