On Mon, 2005-05-16 at 09:18 -0500, James Bottomley wrote: > On Mon, 2005-05-16 at 10:06 +0200, Arjan van de Ven wrote: > > > + spin_lock( instance->host_lock ); > > > + cmd->scmd->scsi_done( cmd->scmd ); > > > + spin_unlock( instance->host_lock ); > > > > are you really sure you don't want to use spin_lock_irqsave() here ? > > Actually, don't bother with the lock at all. scsi_done() is designed to > be called locklessly. doh sorry I missed that (but knew it) proves I need to drink the coffee BEFORE the patch review ;) - : 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