read_dentry_tree(): Check for presence of long names here
[wimlib] / src / verify.c
index 9e59d707feebb8d417fc9a2603d7c8788be70d8a..d348e302b2d65edfc4ff29ed66e698d875c660ac 100644 (file)
@@ -151,12 +151,6 @@ verify_dentry(struct wim_dentry *dentry, void *wim)
                        dentry->file_name_nbytes = 0;
                        dentry->short_name_nbytes = 0;
                }
-       } else {
-               if (!dentry_has_long_name(dentry)) {
-                       ERROR("Dentry `%"TS"' has no long name!",
-                             dentry_full_path(dentry));
-                       return WIMLIB_ERR_INVALID_DENTRY;
-               }
        }
 
 #if 0