patch-2.3.1 linux/fs/nfsd/export.c

Next file: linux/fs/pipe.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/fs/nfsd/export.c linux/fs/nfsd/export.c
@@ -64,7 +64,7 @@
 static int			hash_lock = 0;
 static int			want_lock = 0;
 static int			hash_count = 0;
-static struct wait_queue *	hash_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(	hash_wait );
 
 #define READLOCK		0
 #define WRITELOCK		1

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