patch-2.4.19 linux-2.4.19/include/linux/nbd.h

Next file: linux-2.4.19/include/linux/netdevice.h
Previous file: linux-2.4.19/include/linux/namespace.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/linux/nbd.h linux-2.4.19/include/linux/nbd.h
@@ -68,8 +68,9 @@
 	struct socket * sock;
 	struct file * file; 		/* If == NULL, device is not ready, yet	*/
 	int magic;			/* FIXME: not if debugging is off	*/
+	spinlock_t queue_lock;
 	struct list_head queue_head;	/* Requests are added here...			*/
-	struct semaphore queue_lock;
+	struct semaphore tx_lock;
 };
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)