[PATCH] z2ram fix (was: Re: Linux 2.5.67)

Geert Uytterhoeven (geert@linux-m68k.org)
Wed, 9 Apr 2003 10:47:27 +0200 (MEST)


On Mon, 7 Apr 2003, Linus Torvalds wrote:
> Jens Axboe:
> o kill blk_queue_empty()

This change contained a typo, here's a fix:

--- linux-2.5.x/drivers/block/z2ram.c Tue Apr 8 10:05:00 2003
+++ linux-m68k-2.5.x/drivers/block/z2ram.c Tue Apr 8 14:16:49 2003
@@ -74,7 +74,7 @@
static void do_z2_request(request_queue_t *q)
{
struct request *req;
- while ((req = elv_next_request) != NULL) {
+ while ((req = elv_next_request(q)) != NULL) {
unsigned long start = req->sector << 9;
unsigned long len = req->current_nr_sectors << 9;

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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