On Thu, 1 Mar 2007, Oliver Neukum wrote: > Hi, > > is this code still relevant? How can there be a probe() while the module > is unloading? Is this a survivor of the pre-driver core days? > > /* Lock ourself into memory in order to keep a probe sequence > * sleeping in a new thread from allowing us to be unloaded. > */ > if (!try_module_get(THIS_MODULE)) > return -EINVAL;
IIRC that was introduced by Greg as part of his multithreaded probing changes. It doesn't belong here any more. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel