Re: [PATCH] Re: sleeping in scsi EH

Christoph Hellwig
2005-05-27T10:53:01Z

On Fri, May 27, 2005 at 06:45:53AM -0400, Jeff Garzik wrote:
> Something like the attached?

Looks good to me.

> - * Locks: struct Scsi_Host::host_lock held (with irqsave) on entry
> - * and assumed to be held on return.
> + * Locks: None held. EH context.
> *
> * Calling context: kernel thread

We already mention the calling context, no need to duplicate that in the
Locks: section.