65878a
From 8d48fb915cbfa1b4ad594b597f2567d682bfc635 Mon Sep 17 00:00:00 2001
65878a
From: Lukas Nykryn <lnykryn@redhat.com>
65878a
Date: Thu, 9 Jan 2014 16:43:00 +0100
65878a
Subject: [PATCH] delta: ensure that d_type will be set on every fs
65878a
65878a
---
65878a
 src/delta/delta.c | 2 ++
65878a
 1 file changed, 2 insertions(+)
65878a
65878a
diff --git a/src/delta/delta.c b/src/delta/delta.c
65878a
index b3272d9..193642d 100644
65878a
--- a/src/delta/delta.c
65878a
+++ b/src/delta/delta.c
65878a
@@ -291,6 +291,8 @@ static int enumerate_dir(Hashmap *top, Hashmap *bottom, Hashmap *drops, const ch
65878a
                 if (!de)
65878a
                         break;
65878a
 
65878a
+                dirent_ensure_type(d, de);
65878a
+
65878a
                 if (dropins && de->d_type == DT_DIR && endswith(de->d_name, ".d"))
65878a
                         enumerate_dir_d(top, bottom, drops, path, de->d_name);
65878a