mtd/fs/jffs2 compr.c,1.42,1.43

gleixner at infradead.org gleixner at infradead.org
Wed Jan 12 17:34:38 EST 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv14233/fs/jffs2

Modified Files:
	compr.c 
Log Message:
Lock initializer update

Index: compr.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/compr.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- compr.c	7 Aug 2004 21:56:08 -0000	1.42
+++ compr.c	12 Jan 2005 22:34:35 -0000	1.43
@@ -15,7 +15,7 @@
 
 #include "compr.h"
 
-static spinlock_t jffs2_compressor_list_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(jffs2_compressor_list_lock);
 
 /* Available compressors are on this list */
 static LIST_HEAD(jffs2_compressor_list);





More information about the linux-mtd-cvs mailing list