]> wimlib.net Git - wimlib/commitdiff
struct wim_inode: Fix union
authorEric Biggers <ebiggers3@gmail.com>
Sun, 18 Aug 2013 18:25:19 +0000 (13:25 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 18 Aug 2013 18:25:19 +0000 (13:25 -0500)
include/wimlib/dentry.h

index 8676e8e0415df5815923e62e1765ca52ca1425bc..05b7e493e1d1be9322fe34075c6f808b4d60e17b 100644 (file)
@@ -382,14 +382,15 @@ struct wim_inode {
                /* Used only during image mount:  Table of file descriptors that
                 * have been opened to this inode.  The table is automatically
                 * freed when the last file descriptor is closed.  */
                /* Used only during image mount:  Table of file descriptors that
                 * have been opened to this inode.  The table is automatically
                 * freed when the last file descriptor is closed.  */
-               struct {
-                       struct wimfs_fd **i_fds;
-                       u16 i_num_opened_fds;
-                       u16 i_num_allocated_fds;
-               };
+               struct wimfs_fd **i_fds;
 #endif
        };
 
 #endif
        };
 
+#ifdef WITH_FUSE
+       u16 i_num_opened_fds;
+       u16 i_num_allocated_fds;
+#endif
+
        /* Next alternate data stream ID to be assigned */
        u32 i_next_stream_id;
 };
        /* Next alternate data stream ID to be assigned */
        u32 i_next_stream_id;
 };