Blame SOURCES/dump-restore-rmdir.patch

a140ec
diff -urNp old/restore/restore.c new/restore/restore.c
a140ec
--- old/restore/restore.c	2017-08-30 09:44:50.912572953 +0200
a140ec
+++ new/restore/restore.c	2017-08-30 09:45:48.770347062 +0200
a140ec
@@ -593,7 +593,7 @@ findunreflinks(void)
a140ec
 					if (np->e_type == LEAF) {
a140ec
 						removeleaf(np);
a140ec
 						freeentry(np);
a140ec
-					} else {
a140ec
+					} else if (np->e_ino != 0){
a140ec
 						np->e_flags |= TMPNAME;
a140ec
 						deleteino(np->e_ino);
a140ec
 						np->e_next = removelist;