Re: [patch 2/3] uml-ubd-any-elevator
From: Jens Axboe
Date: Wed Sep 08 2004 - 04:30:17 EST
On Mon, Sep 06 2004, blaisorblade_spam@xxxxxxxx wrote:
> diff -puN arch/um/drivers/ubd_kern.c~uml-ubd-any-elevator arch/um/drivers/ubd_kern.c
> --- uml-linux-2.6.8.1/arch/um/drivers/ubd_kern.c~uml-ubd-any-elevator 2004-08-29 14:40:53.731043416 +0200
> +++ uml-linux-2.6.8.1-paolo/arch/um/drivers/ubd_kern.c 2004-08-29 14:40:53.733043112 +0200
> @@ -749,8 +749,6 @@ int ubd_init(void)
> return -1;
> }
>
> - elevator_init(ubd_queue, &elevator_noop);
> -
> if (fake_major != MAJOR_NR) {
> char name[sizeof("ubd_nnn\0")];
if this is not applied, at least the file needs an elevator_exit(q);
before calling elevator_init() for the new elevator. otherwise the
original elevator data is leaked.
--
Jens Axboe
-
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/