]> wimlib.net Git - wimlib/blobdiff - include/wimlib/inode.h
Rename inode_first_dentry() => inode_any_dentry()
[wimlib] / include / wimlib / inode.h
index 2fd9f08357855c8e7a7ec3163a8779cbb43f609e..514621264f17cb58e5a349bfa6b0cdc072585075 100644 (file)
@@ -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);