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