X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fdentry.h;h=74cb7ad6be1d03f2e4ad30c4cfdad74bc6b20757;hb=aac0f095b5ed1273f91d87009f3b551eedcee085;hp=40a4c8e67d7e259a5be7a69a2dd2e5a6dc63fa71;hpb=aa3a2830cd4154238bc6a342ffea43d9ac69a14c;p=wimlib diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index 40a4c8e6..74cb7ad6 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -57,7 +57,7 @@ struct wim_dentry { /* Linked list node that places this dentry in the list of aliases for * its inode (d_inode) */ - struct list_head d_alias; + struct hlist_node d_alias; /* Pointer to the UTF-16LE short filename (malloc()ed buffer), or NULL * if this dentry has no short name. */ @@ -122,12 +122,6 @@ struct wim_dentry { struct list_head d_extraction_alias_node; }; -static inline bool -dentry_is_first_in_inode(const struct wim_dentry *dentry) -{ - return inode_first_dentry(dentry->d_inode) == dentry; -} - static inline bool will_extract_dentry(const struct wim_dentry *dentry) {