Re: some patches for 2.3.23

Pavel Machek (pavel@suse.cz)
Mon, 25 Oct 1999 23:09:55 +0200


Hi!

> Deadlock on nbd (observed with vmware-mount.pl).

I just wonder: what are you doing with nbd?
Pavel

> --- linux/drivers/block/nbd.c Tue Jul 6 05:07:02 1999
> +++ linux/drivers/block/nbd.c Sun Oct 24 16:08:47 1999
> @@ -43,6 +43,8 @@
> #define MAJOR_NR NBD_MAJOR
> #include <linux/nbd.h>
>
> +#include <net/sock.h>
> +
> #define LO_MAGIC 0x68797548
>
> static int nbd_blksizes[MAX_NBD];
> @@ -105,6 +107,7 @@
>
>
> do {
> + sock->sk->allocation = GFP_ATOMIC;
> iov.iov_base = buf;
> iov.iov_len = size;
> msg.msg_name = NULL;
>

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- 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.tux.org/lkml/