linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / jffs / jffs_fm.h
index 9ee6ad2..f64151e 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/types.h>
 #include <linux/jffs.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mutex.h>
+#include <linux/config.h>
 
 /* The alignment between two nodes in the flash memory.  */
 #define JFFS_ALIGN_SIZE 4
@@ -97,7 +97,7 @@ struct jffs_fmcontrol
        struct jffs_fm *tail;
        struct jffs_fm *head_extra;
        struct jffs_fm *tail_extra;
-       struct mutex biglock;
+       struct semaphore biglock;
 };
 
 /* Notice the two members head_extra and tail_extra in the jffs_control