lkml.org 
[lkml]   [1996]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectscsi 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 !! |
===============================================================================

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.019 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site