[PATCH] fix endless loop in storage-addon

Danny Kukawka danny.kukawka at web.de
Thu Dec 6 11:42:29 PST 2007


On Donnerstag, 6. Dezember 2007, David Zeuthen wrote:
> On Thu, 2007-11-29 at 16:11 +0100, Danny Kukawka wrote:
> > Hi,
> >
> > this patches fixes a endless loop if you attach e.g. a USB floppy device
> > which already contains a floppy media (because of the initial
> > media_status). The result is that the media in the device get never
> > detected until the state change again (remove/readd the media to the
> > device).
> >
> > IMO this could theoretically also happen on other devices which already
> > contains a media when attached.
>
> Nice catch. Please commit. Thanks.

Commited,

Danny



More information about the hal mailing list