mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.5.8-pre1] nbd compile fixes...
@ 2002-04-04 13:58 Stelian Pop
  2002-04-04 14:02 ` Dave Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Stelian Pop @ 2002-04-04 13:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: davej, pavel

In 2.5.8-pre1 include/linux/nbd.h a struct member name was changed
from 'queue_lock' to 'tx_lock', with the comment "nbd compile fix"
from Dave Jones.

In fact, since nbd.c still reference 'queue_lock' I suspect that
the actual modifications to nbd.c were lost somewhere in etherspace
between Dave and Linus.

Either provide the right fix for nbd.c or apply the attached patch,
which reverts the patch to nbd.h.

In other words, the attached patch provides a "nbd compile fix" by
reverting the previous "nbd compile fix" :-)

Stelian.


===== include/linux/nbd.h 1.7 vs edited =====
--- 1.7/include/linux/nbd.h	Sun Mar 31 15:43:18 2002
+++ edited/include/linux/nbd.h	Thu Apr  4 13:53:15 2002
@@ -70,7 +70,7 @@
 	struct file * file; 		/* If == NULL, device is not ready, yet	*/
 	int magic;			/* FIXME: not if debugging is off	*/
 	struct list_head queue_head;	/* Requests are added here...			*/
-	struct semaphore tx_lock;
+	struct semaphore queue_lock;
 };
 #endif
 
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-04 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04 13:58 [PATCH 2.5.8-pre1] nbd compile fixes Stelian Pop
2002-04-04 14:02 ` Dave Jones
2002-04-04 13:50   ` Steven Whitehouse
2002-04-04 14:28     ` Dave Jones
2002-04-04 14:12       ` Steven Whitehouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®