Re: mcdx -- do_request(): non-read command to cd!!

Pekka J Enberg
2007-04-02T06:50:42Z

On Mon, 2 Apr 2007, Rene Herman wrote:
> + if (!blk_fs_request(req)) {
> + spin_lock_irq(q->queue_lock);

Contrary to what I said, this spin_lock_irq() is wrong...

> + end_request(req, 0);
> + goto again;
> + }
> +
> + spin_unlock_irq(q->queue_lock);

...because we drop the lock here.

Pekka