]> wimlib.net Git - wimlib/blobdiff - src/verify.c
Detect directory hard links as early as possible
[wimlib] / src / verify.c
index a4fb17c03a02a1d13339e0e3ed49d89bb037a5dd..3085e6a67120661a8a9a1cea07454dea5aecd1f9 100644 (file)
@@ -114,13 +114,6 @@ verify_inode(struct wim_inode *inode, const WIMStruct *w)
                }
        }
 
                }
        }
 
-       /* Directories with multiple links have not been tested. XXX */
-       if (inode->i_nlink > 1 && inode->i_attributes & FILE_ATTRIBUTE_DIRECTORY) {
-               ERROR("Hard-linked directory `%"TS"' is unsupported",
-                     dentry_full_path(first_dentry));
-               return WIMLIB_ERR_INVALID_DENTRY;
-       }
-
        inode->i_verified = 1;
        return 0;
 }
        inode->i_verified = 1;
        return 0;
 }