extern void
unlink_dentry(struct wim_dentry *dentry);
-extern bool
+extern struct wim_dentry *
dentry_add_child(struct wim_dentry * restrict parent,
struct wim_dentry * restrict child);
inode_is_symlink(const struct wim_inode *inode)
{
return (inode->i_attributes & FILE_ATTRIBUTE_REPARSE_POINT)
- && ((inode->i_reparse_tag == WIM_IO_REPARSE_TAG_SYMLINK) ||
- inode->i_reparse_tag == WIM_IO_REPARSE_TAG_MOUNT_POINT);
+ && (inode->i_reparse_tag == WIM_IO_REPARSE_TAG_SYMLINK ||
+ inode->i_reparse_tag == WIM_IO_REPARSE_TAG_MOUNT_POINT);
}
static inline bool