]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hpfs/hpfs_fn.h
[PATCH] sem2mutex: HPFS
[linux-2.6-omap-h63xx.git] / fs / hpfs / hpfs_fn.h
index 6628c3b352cb4ab7d4f6854f5eda919b7121f79f..4c6473ab3b346e1f7091047878c4694fdee41d86 100644 (file)
@@ -9,6 +9,7 @@
 //#define DBG
 //#define DEBUG_LOCKS
 
+#include <linux/mutex.h>
 #include <linux/pagemap.h>
 #include <linux/buffer_head.h>
 #include <linux/hpfs_fs.h>
@@ -57,8 +58,8 @@ struct hpfs_inode_info {
        unsigned i_ea_uid : 1;  /* file's uid is stored in ea */
        unsigned i_ea_gid : 1;  /* file's gid is stored in ea */
        unsigned i_dirty : 1;
-       struct semaphore i_sem;
-       struct semaphore i_parent;
+       struct mutex i_mutex;
+       struct mutex i_parent_mutex;
        loff_t **i_rddir_off;
        struct inode vfs_inode;
 };