Warning: linux/drivers/block/nbd.c is not easy to fix

Pavel Machek (pavel@bug.ucw.cz)
Sat, 29 Aug 1998 23:13:59 +0200


Hi!

> Patch 2.1.119 adds the uses the variable oldset in nbd.c but doesn't define it.
> This small patch fixes it.

Nbd in 2.1.119 was broken and it just will not work. This only makes
it compile.

Wait for 2.1.120 or get stephen tweedie's patch.

Pavel

> --- linux/drivers/block/nbd.c-ori Sat Aug 29 16:22:28 1998
> +++ linux/drivers/block/nbd.c Sat Aug 29 16:22:44 1998
> @@ -82,6 +82,7 @@
> struct msghdr msg;
> struct iovec iov;
> unsigned long flags;
> + sigset_t oldset;
>
> oldfs = get_fs();
> set_fs(get_ds());
>

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html