fuse_readdir_seq_getdents.icpp

This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:19:56 -06:00
parent 7a8195407e
commit 329db1feed

View file

@ -32,8 +32,11 @@ _readdir(const Branches::Ptr &branches_,
DEFER { msgbuf_free(buf); };
rel_filepath = rel_dirpath_ / "dummy";
for(size_t i = 0; i < branches_->size(); i++)
for(const auto &branch : *branches_)
{
const auto &branch = *(branches_)[i];
int fd;
abs_dirpath = branch.path / rel_dirpath_;