On Fri, Jul 18, 2003 at 06:45:03PM +0200, Oliver Neukum wrote:
> Am Freitag, 18. Juli 2003 18:36 schrieb Martin Diehl:
> > On Fri, 18 Jul 2003, Oliver Neukum wrote:
> > 
> > > > Yes sure. But do we really want people seeing the hcd reportedly unused to 
> > > > rmmod their hcd and thus trigger an unintended disconnect - with corrupted 
> > > > fs as a consequence?
> > > 
> > > We cannot prevent people from unplugging devices, which has the same
> > > consequences. So why would we make provisions to keep root from doing
> > > one more foolish thing?
> > 
> > Because - according to lsmod - the hcd is unused?
> 
> There you have a point. Should driver core deal with such matters?

No, the driver core deals with device reference counts.  Now it also
handles module reference counts when a sysfs attribute is open.

But in the end, this is a reference counting issue that the scsi people
have a patch for.

If any other USB driver causes an oops when the hcd is removed, then we
need to fix that.

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to