On Tue, Mar 18 2008 at 18:12 +0200, Michael Reed <mdr@xxxxxxx> wrote: > > Michael Reed wrote: >> Boaz Harrosh wrote: >> <snip> >>>>> Just to demonstrate what I mean a patch is attached. Just as an RFC, totally >>>>> untested. >>>> I can try this out and see what happens. >>>> >>>> >>> Will not compile here is a cleaner one >> Still in my queue. Hopefully I'll get to poke at this today. > > Patch compiles cleanly and appears to have no effect on the misc. > sg_* commands I've executed including sg_dd, sg_inq, sg_luns, sg_readcap. > > Mike > >> Mike >> <patch sniped> If you remove the original fix to sg.c ([PATCH] 2.6.25-rc4-git3 - inquiry cmd issued via /dev/sg? device causes infinite loop in 2.6.24) and apply this patch, does it solve your original infinite loop? Thanks Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html