X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjffs%2Fjffs_fm.h;fp=fs%2Fjffs%2Fjffs_fm.h;h=f64151e741225141f632400ddfded9788c6bb794;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=9ee6ad29eff5de856f5401464346a5b110324bc3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/jffs/jffs_fm.h b/fs/jffs/jffs_fm.h index 9ee6ad29e..f64151e74 100644 --- a/fs/jffs/jffs_fm.h +++ b/fs/jffs/jffs_fm.h @@ -23,7 +23,7 @@ #include #include #include -#include +#include /* 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