]> wimlib.net Git - wimlib/blobdiff - include/wimlib/metadata.h
inode_table: remove unused num_entries member
[wimlib] / include / wimlib / metadata.h
index cb456bc4f2e8e70d2d3610bdf9c5c6c766a719e9..10cd414c280480c433193c27452c11861d1758a2 100644 (file)
@@ -5,10 +5,6 @@
 #include "wimlib/types.h"
 #include "wimlib/wim.h"
 
-#ifdef WITH_NTFS_3G
-struct _ntfs_volume;
-#endif
-
 /* Metadata for a WIM image  */
 struct wim_image_metadata {
 
@@ -39,10 +35,6 @@ struct wim_image_metadata {
         * the WIM file.  If this is the case, the memory for the dentry tree
         * should not be freed when switching to a different WIM image. */
        u8 modified : 1;
-
-#ifdef WITH_NTFS_3G
-       struct _ntfs_volume *ntfs_vol;
-#endif
 };
 
 /* Retrieve the metadata of the image in @wim currently selected with
@@ -71,11 +63,11 @@ wim_get_current_security_data(WIMStruct *wim)
 
 /* Iterate over each inode in a WIM image  */
 #define image_for_each_inode(inode, imd) \
-       hlist_for_each_entry(inode, &(imd)->inode_list, i_hlist)
+       hlist_for_each_entry(inode, &(imd)->inode_list, i_hlist_node)
 
 /* Iterate over each inode in a WIM image (safe against inode removal)  */
 #define image_for_each_inode_safe(inode, tmp, imd) \
-       hlist_for_each_entry_safe(inode, tmp, &(imd)->inode_list, i_hlist)
+       hlist_for_each_entry_safe(inode, tmp, &(imd)->inode_list, i_hlist_node)
 
 /* Iterate over each blob in a WIM image that has not yet been hashed */
 #define image_for_each_unhashed_blob(blob, imd) \