Messages in this thread Patch in this message |  | | Date | Tue, 2 Jul 1996 14:51:29 GMT | From | (Daniel Roche) | Subject | scsi generic patch |
| |
here is the scsi generic patch again, sorry , the previous was reversed !
===================cut here================= --- sg.c.orig Tue Jul 2 14:51:31 1996 +++ sg.c Tue Jul 2 14:46:53 1996 @@ -593,6 +593,11 @@ gpnt->device = NULL; SDp->attached--; sg_template.nr_dev--; + /* + * avoid associated device /dev/sg? bying incremented + * each time module is inserted/removed , <dan@lectra.fr> + */ + sg_template.dev_noticed--; return; } return; ===================cut here================= =============================================================================== | _ | dan@lectra.fr | | __/ _ _ o _ / /_) _ _ / _ | | | (_/ (_(_ / ) ( (-' / /\ (_) (_ /) (-' | May the source be with | | | you !! | ===============================================================================
|  |