projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58742b0
)
delta: ensure that d_type will be set on every fs
author
Lukas Nykryn
<lnykryn@redhat.com>
Thu, 9 Jan 2014 15:43:00 +0000
(16:43 +0100)
committer
Lukas Nykryn
<lnykryn@redhat.com>
Thu, 9 Jan 2014 15:43:00 +0000
(16:43 +0100)
src/delta/delta.c
patch
|
blob
|
history
diff --git
a/src/delta/delta.c
b/src/delta/delta.c
index
19eaed3
..
369f8f8
100644
(file)
--- a/
src/delta/delta.c
+++ b/
src/delta/delta.c
@@
-316,6
+316,8
@@
static int enumerate_dir(Hashmap *top, Hashmap *bottom, Hashmap *drops, const ch
if (!de)
return -errno;
+ dirent_ensure_type(d, de);
+
if (dropins && de->d_type == DT_DIR && endswith(de->d_name, ".d"))
enumerate_dir_d(top, bottom, drops, path, de->d_name);