mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_readdir_cosr.cpp
This commit is contained in:
parent
e78f669f66
commit
9c6849bd9d
1 changed files with 13 additions and 0 deletions
|
|
@ -58,6 +58,19 @@ _readdir(ThreadPool &tp_,
|
|||
return rv;
|
||||
}
|
||||
|
||||
int
|
||||
FUSE::OpenDirCOSR::operator()(const fuse_req_ctx_t *ctx_,
|
||||
fuse_file_info_t const *ffi_,
|
||||
fuse_dirents_t *dirents_)
|
||||
{
|
||||
DirInfo *di = DirInfo::from_fh(ffi_->fh);
|
||||
|
||||
return ::_readdir(_tp,
|
||||
cfg.branches,
|
||||
di->fusepath,
|
||||
dirents_);
|
||||
}
|
||||
|
||||
int
|
||||
FUSE::ReadDirCOSR::operator()(const fuse_req_ctx_t *ctx_,
|
||||
fuse_file_info_t const *ffi_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue