X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Finode.h;h=514621264f17cb58e5a349bfa6b0cdc072585075;hp=2fd9f08357855c8e7a7ec3163a8779cbb43f609e;hb=a8343baff22193be4651a3a63b07cb1520ced4e8;hpb=26a90546f2a8ded51376d631e5a13f3d7a84f8dc diff --git a/include/wimlib/inode.h b/include/wimlib/inode.h index 2fd9f083..51462126 100644 --- a/include/wimlib/inode.h +++ b/include/wimlib/inode.h @@ -269,13 +269,13 @@ new_inode(struct wim_dentry *dentry, bool set_timestamps); hlist_for_each_entry((dentry), &(inode)->i_alias_list, d_alias_node) /* Return an alias of the specified inode. */ -#define inode_first_dentry(inode) \ +#define inode_any_dentry(inode) \ hlist_entry(inode->i_alias_list.first, struct wim_dentry, d_alias_node) /* Return the full path of an alias of the specified inode, or NULL if a full * path could not be determined. */ -#define inode_first_full_path(inode) \ - dentry_full_path(inode_first_dentry(inode)) +#define inode_any_full_path(inode) \ + dentry_full_path(inode_any_dentry(inode)) extern void d_associate(struct wim_dentry *dentry, struct wim_inode *inode);