> > > Any ideas to do that without keeping the scn data around until the
> > > final close?
> >
> > You cannot.
> > Either keep the descriptors around, or don't use file->private_data
> > and go through the array indexed by minors always.
>
> Ah, but that array is now gone in 2.5 :)
Yes, but the principle holds. If you want to get rid of the device
descriptor upon disconnect, you have to do what open() does to
find the descriptor. It is solvable but costs a little performance.
Or you have to play RCU games. That could get really interesting.
Merry Christmas
Oliver
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel