diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-01-09 16:43:00 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-01-09 16:43:00 +0100 |
commit | 277f2f75f69bbd5868c74991011c804ce00dfed9 (patch) | |
tree | cdadcd0f77fff91a1e12e8ff96f4e3bf34a9917d /src/delta | |
parent | 58742b06bd293c13062cdb0f410f8f9d4ffb6f11 (diff) |
delta: ensure that d_type will be set on every fs
Diffstat (limited to 'src/delta')
-rw-r--r-- | src/delta/delta.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c index 19eaed3631..369f8f862a 100644 --- 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); |