]> wimlib.net Git - wimlib/blobdiff - include/wimlib/dentry.h
Remove i_mutex (not really worth the extra time/memory I think)
[wimlib] / include / wimlib / dentry.h
index 0871edc2d418894edc160743346ca3ae523091ce..9e24529a2d5229b596687223d87a9abeb8d7e3c8 100644 (file)
 #include <string.h>
 #include <sys/types.h> /* uid_t, gid_t */
 
-#ifdef WITH_FUSE
-#  include <pthread.h>
-#endif
-
 struct wim_lookup_table;
 struct wim_lookup_table_entry;
 struct wimfs_fd;
@@ -382,10 +378,6 @@ struct wim_inode {
        u16 i_num_opened_fds;
        u16 i_num_allocated_fds;
        struct wimfs_fd **i_fds;
-       /* This mutex protects the inode's file descriptors table during
-        * read-only mounts.  Read-write mounts are still restricted to 1
-        * thread. */
-       pthread_mutex_t i_mutex;
 #endif
 };