]> wimlib.net Git - wimlib/blobdiff - include/wimlib/dentry.h
struct wim_dentry: Rename 'parent' to 'd_parent'
[wimlib] / include / wimlib / dentry.h
index df1b3ed78f608ce0762380d53225221e2cbf761d..2dd98fb458a8d21716b7c9cf34ed38b991a30ca5 100644 (file)
@@ -65,7 +65,7 @@ struct wim_dentry {
        struct list_head d_ci_conflict_list;
 
        /* The parent of this directory entry. */
-       struct wim_dentry *parent;
+       struct wim_dentry *d_parent;
 
        /* Linked list node that places this dentry in the list of aliases for
         * its inode (d_inode) */
@@ -285,7 +285,7 @@ write_dentry_tree(struct wim_dentry *root, u8 *p);
 static inline bool
 dentry_is_root(const struct wim_dentry *dentry)
 {
-       return dentry->parent == dentry;
+       return dentry->d_parent == dentry;
 }
 
 static inline bool