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

From: Pekka J Enberg
Date: Mon Apr 02 2007 - 02:51:11 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/