[PATCH] 2.1.119 fails to compile nbd as module

Inaky Perez Gonzalez (inaky@peloncho.fis.ucm.es)
Fri, 28 Aug 1998 12:59:40 +0200


Hi

nbd.c failed to compile as module. It was a misplaced sigset_t
declaration; here's the patch which fixes it.

--- linux/drivers/block/nbd.c.original Fri Aug 28 12:27:26 1998
+++ linux/drivers/block/nbd.c Fri Aug 28 12:56:58 1998
@@ -77,6 +77,7 @@
*/
static int nbd_xmit(int send, struct socket *sock, char *buf, int size)
{
+ sigset_t oldset;
mm_segment_t oldfs;
int result;
struct msghdr msg;
@@ -94,8 +95,6 @@


do {
- sigset_t oldset;
-
iov.iov_base = buf;
iov.iov_len = size;
msg.msg_name = NULL;

-- 

Linux-USB! http://peloncho.fis.ucm.es/~inaky/USB.html - - Inaky Perez Gonzalez -- PGP pubkey fingerprint - inaky@peloncho.fis.ucm.es -- 8E 34 3A 62 64 99 E2 44 - http://peloncho.fis.ucm.es/~inaky -- AD 7B 30 D9 DD FF 3E 4C - --------------------------------- -- ----------------------- - The loneliness of the long distance runner .....

- 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