]> wimlib.net Git - wimlib/blobdiff - src/ntfs-apply.c
Extract NTFS junction points correctly
[wimlib] / src / ntfs-apply.c
index 063bc0ea55fdfed72393e43cb9f89c481bd4c973..9061971548e59ef139cef05c714fe7599ec2384a 100644 (file)
@@ -270,7 +270,7 @@ static int do_wim_apply_dentry_ntfs(struct dentry *dentry, ntfs_inode *dir_ni,
        int ret = 0;
        mode_t type;
 
-       if (dentry_is_directory(dentry)) {
+       if (dentry->attributes & FILE_ATTRIBUTE_DIRECTORY) {
                type = S_IFDIR;
        } else {
                type = S_IFREG;