fix last commit: the filename var was not ment to be removed, sorry

This commit is contained in:
Dietmar Maurer 2019-03-31 16:16:14 +02:00
parent 15a77c4c2e
commit d85987aeeb
1 changed files with 2 additions and 0 deletions

View File

@ -266,6 +266,8 @@ impl ChunkStore {
continue;
}
let filename = entry.file_name();
let lock = self.mutex.lock();
if let Ok(stat) = fstatat(dirfd, filename, nix::fcntl::AtFlags::AT_SYMLINK_NOFOLLOW) {