yaffs Adding more tests to direct/timothy_tests/quick_tests
[yaffs2.git] / yaffs_linux.h
index 84d1ce8f4d6d8559f75c643c4288f19e54852103..3b508cbc4e8a87133928fa82d2e0e15e75a534e8 100644 (file)
@@ -24,7 +24,7 @@ struct yaffs_linux_context {
        struct super_block *super;
        struct task_struct *bg_thread;  /* Background thread for this device */
        int bg_running;
-       struct semaphore gross_lock;    /* Gross locking semaphore */
+       struct mutex gross_lock;        /* Gross locking mutex*/
        u8 *spare_buffer;       /* For mtdif2 use. Don't know the size of the buffer
                                 * at compile time so we have to allocate it.
                                 */